From acaf2220140dfa37fedab053295758a923b4212a Mon Sep 17 00:00:00 2001 From: bakpaul Date: Sat, 12 Jul 2025 13:44:12 +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 1cc81da..996e759 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,12 +98,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,\ \"binary\":$binary_status}"\ https://sofa-framework.org:5000/api/v1/plugins