From e0479fc105a5d7452b15b5e14d1331913bb5ab6e Mon Sep 17 00:00:00 2001 From: bakpaul Date: Sat, 12 Jul 2025 13:41:46 +0200 Subject: [PATCH] change notify step according to changes made to REST API of server --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23beb3e..1bac28b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,12 +133,14 @@ jobs: [ '${{ steps.install-artifact.outcome }}' == 'success' ] && \ [ '${{ steps.sanitize.outcome }}' == 'success' ] && \ echo 'true' || echo 'false') + os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }') curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \ "{\"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}"\