Skip to content

v2: Create v2.0.0 of howl #83

v2: Create v2.0.0 of howl

v2: Create v2.0.0 of howl #83

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
howl-test:
runs-on: ubuntu-latest
needs: [ci]
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') }}
steps:
- run: ./howl
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_CHANNEL: C0425KRJFAQ
SLACK_TEXT: BLABLABLA <!here>
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() && contains(join(needs.*.result, ','), 'failure') }}
steps:
- uses: foxygoat/howl@v2
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
slack_text: <!here>