diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5979076..ab13d3c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,3 +104,12 @@ jobs: name: ${{ matrix.os }} path: ${{ steps.bottle.outputs.filenames }} if-no-files-found: error + + - name: Slack Notification + 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 }} \ No newline at end of file