notify job should be always(), not step.

This commit is contained in:
Jacob Heider 2022-08-30 18:02:33 -04:00
parent 3a3986ae2d
commit f746eca170

View file

@ -107,11 +107,11 @@ jobs:
path: ${{ steps.bottle.outputs.filenames }} path: ${{ steps.bottle.outputs.filenames }}
if-no-files-found: error if-no-files-found: error
notify: notify:
if: always()
needs: [build] needs: [build]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: rtCamp/action-slack-notify@v2 - uses: rtCamp/action-slack-notify@v2
if: always()
env: env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}