Skip to content

Commit 1f30c8a

Browse files
authored
change notify step according to changes made to REST API of server (#167)
1 parent 26530f6 commit 1f30c8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)