From: Augustin Degomme Date: Sat, 4 Mar 2023 13:13:06 +0000 (+0100) Subject: try to use another mattermost action, as the main one is linux only (uses docker) X-Git-Tag: v3.34~377 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4c1336d251a27ce83c041dd3e9d296a695037cf9 try to use another mattermost action, as the main one is linux only (uses docker) --- diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml index 30582d4c3d..3bb82255c6 100644 --- a/.github/workflows/git.yml +++ b/.github/workflows/git.yml @@ -52,11 +52,12 @@ jobs: if: ${{ success() }} run: | ver=$(grep set.SIMGRID_VERSION_MINOR CMakeLists.txt|sed 's/[^"]*"//'|sed 's/".*$//') echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"Simgrid built successfully on ${{ matrix.config.name }}! ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - - uses: mattermost/action-mattermost-notify@master + - uses: komarnitskyi/action-mattermost-notification@v0.1.2-beta if: ${{ always() }} env: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_CHANNEL: ${{ secrets.MATTERMOST_CHANNEL}} + webhook: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + channel: ${{ secrets.MATTERMOST_CHANNEL}} + json: mattermost.json simgrid-modelcheck-ubuntu: @@ -90,9 +91,9 @@ jobs: if: ${{ success() }} run: | ver=$(grep set.SIMGRID_VERSION_MINOR CMakeLists.txt|sed 's/[^"]*"//'|sed 's/".*$//') echo "{\"attachments\": [{\"color\": \"#00FF00\", \"text\":\"Simgrid Modelchecker built successfully on ubuntu-stable! ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \"}]}" > mattermost.json - - uses: mattermost/action-mattermost-notify@master + - uses: komarnitskyi/action-mattermost-notification@v0.1.2-beta if: ${{ always() }} env: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - MATTERMOST_CHANNEL: ${{ secrets.MATTERMOST_CHANNEL}} - + webhook: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + channel: ${{ secrets.MATTERMOST_CHANNEL}} + json: mattermost.json