Skip to content

Commit 1bff22e

Browse files
authored
change notify step according to changes made to REST API of server (sofa-framework#198)
1 parent 659d5f0 commit 1bff22e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
[ '${{ steps.create-artifact.outcome }}' == 'success' ] && \
171171
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
172172
echo 'true' || echo 'false')
173+
os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
173174
174175
175176
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
@@ -178,6 +179,7 @@ jobs:
178179
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
179180
\"build\":$build_status,\
180181
\"tests\":$test_status,\
182+
\"os\":\"$os\",\
181183
\"binary\":$binary_status}"\
182184
https://sofa-framework.org:5000/api/v1/plugins
183185

0 commit comments

Comments
 (0)