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 @@ -115,12 +115,15 @@ jobs:
115115 [ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
116116 [ '${{ steps.sanitize.outcome }}' == 'success' ] && \
117117 echo 'true' || echo 'false')
118+ os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
119+
118120
119121
120122 curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
121123 "{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
122124 \"github_ref\":\"${{ github.sha }}\",\
123125 \"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
126+ \"os\":\"$os\",\
124127 \"build\":$build_status,\
125128 \"binary\":$binary_status}"\
126129 https://sofa-framework.org:5000/api/v1/plugins
You can’t perform that action at this time.
0 commit comments