mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
Get slacks for macos too
This commit is contained in:
parent
c2ba069bd7
commit
3a3986ae2d
1 changed files with 9 additions and 5 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -20,6 +20,8 @@ jobs:
|
|||
defaults:
|
||||
run:
|
||||
working-directory: pantry
|
||||
outputs:
|
||||
status: ${{ job.status }}
|
||||
steps:
|
||||
- name: co pantry
|
||||
uses: actions/checkout@v3
|
||||
|
@ -104,12 +106,14 @@ jobs:
|
|||
name: ${{ matrix.os }}
|
||||
path: ${{ steps.bottle.outputs.filenames }}
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Slack Notification
|
||||
uses: rtCamp/action-slack-notify@v2
|
||||
notify:
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: rtCamp/action-slack-notify@v2
|
||||
if: always()
|
||||
env:
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
|
||||
SLACK_MESSAGE: build job for ${{ inputs.projects }} ${{ job.status == 'success' && 'succeeded' || 'failed' }}
|
||||
SLACK_COLOR: ${{ job.status }}
|
||||
SLACK_MESSAGE: build job for ${{ inputs.projects }} ${{ needs.build.outputs.status == 'success' && 'succeeded' || 'failed' }}
|
||||
SLACK_COLOR: ${{ needs.build.outputs.status }}
|
||||
|
|
Loading…
Reference in a new issue