diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-19 01:49:51 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-19 01:49:52 +0900 |
commit | 2f6c8ed26eec4ad2d2fdaa0823cc63ba32f4c7a2 (patch) | |
tree | 431e2c9874a20051da335624ee68313f87130db8 /.github/workflows/windows.yml | |
parent | e4c43207f9c7c56ecc76bb941c08a686a242b1de (diff) | |
download | ruby-2f6c8ed26eec4ad2d2fdaa0823cc63ba32f4c7a2.tar.gz |
Implement Slack notification for Actions
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r-- | .github/workflows/windows.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 984ac7011a..ae5d2e5451 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -53,3 +53,13 @@ jobs: run: | call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat" nmake ${{ matrix.test_task }} + - uses: ./.github/actions/notify-slack + with: + status: ${{ job.status }} + matrix_name: ${{ matrix.test_task }} + committer_name: ${{ github.event.head_commit.committer.name }} + commit_message: ${{ github.event.head_commit.message }} + commit_timestamp: ${{ github.event.head_commit.timestamp }} + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: failure() && github.event_name == 'push' |