From: Martin Quinson Date: Mon, 13 Sep 2021 06:58:21 +0000 (+0200) Subject: Notify Sam of StarPU results X-Git-Tag: v3.29~92 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d193a2a2106853c0d8b0e2f2727adaaa1ed2e019 Notify Sam of StarPU results --- 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}}