diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17072b86d..d1e3c14b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -224,12 +224,15 @@ jobs: binary_status=$([ '${{ steps.gen-artifact.outcome }}' == 'success' ] && \ [ '${{ steps.install-artifact.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}"\