diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-18 23:19:09 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-18 23:19:10 +0900 |
commit | d8807e8b1a9d09ee1543e18618b4ef7e8203c616 (patch) | |
tree | f8eb916e43cea233954a115d1d9adb5c91e4401d /.github | |
parent | 829b800c10086ee504995c6e088d87370c552c40 (diff) |
Try notifying Slack from Actions
https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 12 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 12 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 12 |
3 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e357e3ad2e..3537d22c2b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -58,3 +58,15 @@ jobs: if: matrix.test_task != 'check' - name: Leaked Globals run: make -s leaked-globals + - uses: 8398a7/action-slack@v1 + with: + type: success + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: success() + - uses: 8398a7/action-slack@v1 + with: + type: failure + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: failure() diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 8c2d3a2fd5..cd95fda494 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -58,3 +58,15 @@ jobs: continue-on-error: true - name: Leaked Globals run: make -s leaked-globals + - uses: 8398a7/action-slack@v1 + with: + type: success + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: success() + - uses: 8398a7/action-slack@v1 + with: + type: failure + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: failure() diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 984ac7011a..4dd1d1a8f3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -53,3 +53,15 @@ jobs: run: | call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat" nmake ${{ matrix.test_task }} + - uses: 8398a7/action-slack@v1 + with: + type: success + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: success() + - uses: 8398a7/action-slack@v1 + with: + type: failure + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + if: failure() |