We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 659d5f0 commit 1bff22eCopy full SHA for 1bff22e
1 file changed
.github/workflows/ci.yml
@@ -170,6 +170,7 @@ jobs:
170
[ '${{ steps.create-artifact.outcome }}' == 'success' ] && \
171
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
172
echo 'true' || echo 'false')
173
+ os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
174
175
176
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
@@ -178,6 +179,7 @@ jobs:
178
179
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
180
\"build\":$build_status,\
181
\"tests\":$test_status,\
182
+ \"os\":\"$os\",\
183
\"binary\":$binary_status}"\
184
https://sofa-framework.org:5000/api/v1/plugins
185
0 commit comments