From d193a2a2106853c0d8b0e2f2727adaaa1ed2e019 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 13 Sep 2021 08:58:21 +0200 Subject: [PATCH] Notify Sam of StarPU results --- .github/workflows/ci-starpu.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-starpu.yml b/.github/workflows/ci-starpu.yml index 7b4fcb5418..8ef81566c7 100644 --- a/.github/workflows/ci-starpu.yml +++ b/.github/workflows/ci-starpu.yml @@ -21,13 +21,13 @@ jobs: - name: Create the failure Message if: ${{ failure() }} run: | - echo "{\"attachments\": [{\"color\": \"#FF0000\", \"text\":\"StarPU failed to build on simgrid/unstable docker image! See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json + echo "{\"attachments\": [{\"color\": \"#FF0000\", \"text\":\"@sthibaul: StarPu failed to build on simgrid/unstable docker image! See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - name: Create the success Message if: ${{ success() }} run: | - echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"StarPU successfully built on simgrid/unstable docker image. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json + echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"@sthibaul: StarPu successfully built on simgrid/unstable docker image. ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - uses: mattermost/action-mattermost-notify@master - if: ${{ failure() }} + if: ${{ always() }} env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_CHANNEL: ${{ secrets.MATTERMOST_CHANNEL}} -- 2.20.1