File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -224,12 +224,15 @@ jobs:
224224 binary_status=$([ '${{ steps.gen-artifact.outcome }}' == 'success' ] && \
225225 [ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
226226 echo 'true' || echo 'false')
227+
228+ os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
227229
228230
229231 curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
230232 "{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
231233 \"github_ref\":\"${{ github.sha }}\",\
232234 \"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
235+ \"os\":\"$os\",\
233236 \"build\":$build_status,\
234237 \"tests\":$test_status,\
235238 \"binary\":$binary_status}"\
You can’t perform that action at this time.
0 commit comments