Skip to content

v2: Create v2.0.0 of howl #80

v2: Create v2.0.0 of howl

v2: Create v2.0.0 of howl #80

Workflow file for this run

name: ci-cd
on:
push:
branches: [master]
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./bin/hermit env -r >> $GITHUB_ENV
- run: make
release:
runs-on: ubuntu-latest
needs: [ci]
if: github.event_name == 'push' # only run on push to master
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: ./bin/hermit env -r >> $GITHUB_ENV
- run: make release
env:
EMAIL: [email protected]
GIT_COMMITTER_NAME: Foxygoat Releases
GH_TOKEN: ${{ github.token }}
howl-on-failure:
runs-on: ubuntu-latest
needs: [ci, release]
if: always() && github.event_name == 'push' && (needs.ci.result == 'failure' || needs.release.result == 'failure')
steps:
- uses: foxygoat/howl@v2
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
slack_text: <!here>