From 365c8b3216aca9c74af395a841b729c640889c37 Mon Sep 17 00:00:00 2001 From: bakpaul Date: Fri, 11 Jul 2025 12:30:08 +0200 Subject: [PATCH] Update notify dash --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17072b86d..d1e3c14b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -224,12 +224,15 @@ jobs: binary_status=$([ '${{ steps.gen-artifact.outcome }}' == 'success' ] && \ [ '${{ steps.install-artifact.outcome }}' == 'success' ] && \ echo 'true' || echo 'false') + + os=$(echo "${{ matrix.os }}" | awk -F- '{ print $1 }') curl -X POST -H "X-API-KEY: $DASH_AUTH" -H "Content-Type: application/json" -d \ "{\"id\":\"$(echo "${{ github.repository }}" | awk -F/ '{ print $2 }')\",\ \"github_ref\":\"${{ github.sha }}\",\ \"url\":\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\ + \"os\":\"$os\",\ \"build\":$build_status,\ \"tests\":$test_status,\ \"binary\":$binary_status}"\