Skip to content

Commit f9802b4

Browse files
authored
change notify step according to changes made to REST API of server (#28)
1 parent 29c572b commit f9802b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,14 @@ jobs:
9898
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
9999
[ '${{ steps.sanitize.outcome }}' == 'success' ] && \
100100
echo 'true' || echo 'false')
101+
os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
101102
102103
103104
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
104105
"{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
105106
\"github_ref\":\"${{ github.sha }}\",\
106107
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
108+
\"os\":\"$os\",\
107109
\"build\":$build_status,\
108110
\"binary\":$binary_status}"\
109111
https://sofa-framework.org:5000/api/v1/plugins

0 commit comments

Comments
 (0)