From 828176faaff182586bfef1ece9cf8688475dafeb Mon Sep 17 00:00:00 2001 From: bakpaul Date: Sat, 12 Jul 2025 13:45:13 +0200 Subject: [PATCH] change notify step according to changes made to REST API of server --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afa56fa..e49925f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,6 +136,8 @@ jobs: DASH_AUTH: ${{ secrets.PLUGIN_DASH }} shell: bash run: | + os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }') + test_status=$([ '${{ steps.unit-tests.outcome }}' == 'success' ] && \ echo 'true' || echo 'false') @@ -152,6 +154,7 @@ jobs: "{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\ \"github_ref\":\"${{ github.sha }}\",\ \"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\ + \"os\":\"$os\",\ \"build\":$build_status,\ \"tests\":$test_status,\ \"binary\":$binary_status}"\