Skip to content

Commit 2ca8b2e

Browse files
authored
Merge pull request #15 from bakpaul/25_07_update_notify_dashboard
Change notify step according to changes made to REST API of server
2 parents 9c9c13b + e0479fc commit 2ca8b2e

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
@@ -133,12 +133,14 @@ jobs:
133133
[ '${{ steps.install-artifact.outcome }}' == 'success' ] && \
134134
[ '${{ steps.sanitize.outcome }}' == 'success' ] && \
135135
echo 'true' || echo 'false')
136+
os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }')
136137
137138
138139
curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \
139140
"{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\
140141
\"github_ref\":\"${{ github.sha }}\",\
141142
\"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\
143+
\"os\":\"$os\",\
142144
\"build\":$build_status,\
143145
\"tests\":$test_status,\
144146
\"binary\":$binary_status}"\

0 commit comments

Comments
 (0)