Skip to content

Commit 1219430

Browse files
authored
Update notify dash (sofa-framework#515)
1 parent 985a3b2 commit 1219430

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
@@ -224,12 +224,15 @@ jobs:
224224
binary_status=$([ '${{ steps.gen-artifact.outcome }}' == 'success' ] && \
225225
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
226226
echo 'true' || echo 'false')
227+
228+
os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
227229
228230
229231
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
230232
"{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
231233
\"github_ref\":\"${{ github.sha }}\",\
232234
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
235+
\"os\":\"$os\",\
233236
\"build\":$build_status,\
234237
\"tests\":$test_status,\
235238
\"binary\":$binary_status}"\

0 commit comments

Comments
 (0)