We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985a3b2 commit 1219430Copy full SHA for 1219430
1 file changed
.github/workflows/ci.yml
@@ -224,12 +224,15 @@ jobs:
224
binary_status=$([ '${{ steps.gen-artifact.outcome }}' == 'success' ] && \
225
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
226
echo 'true' || echo 'false')
227
+
228
+ os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
229
230
231
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
232
"{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
233
\"github_ref\":\"${{ github.sha }}\",\
234
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
235
+ \"os\":\"$os\",\
236
\"build\":$build_status,\
237
\"tests\":$test_status,\
238
\"binary\":$binary_status}"\
0 commit comments