Skip to content

Commit

Permalink
chore(binary build): slack alert (#2537)
Browse files Browse the repository at this point in the history
Resolves: #2533
  • Loading branch information
greyscaled authored Jan 30, 2024
1 parent 37fc14a commit 8cb7d94
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ jobs:
name: dist-${{ matrix.target }}
path: ./target/dist/

- name: Post to slack
uses: slackapi/slack-github-action@v1.24.0
if: ${{ always() }}
with:
payload: |
{
"text": "Build release binary result (${{ matrix.target }}): ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
publish:
name: Publish
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,5 +101,5 @@ jobs:
with:
payload: |
{
"text": "Release binary build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
"text": "Publish release binary result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}

0 comments on commit 8cb7d94

Please sign in to comment.