ci: fix problem with multiple tlsn-wasm build artefacts (#930)

This commit is contained in:
Hendrik Eeckhaut
2025-06-20 10:57:35 +02:00
committed by GitHub
parent f2ff4ba792
commit 8dae57d6a7

View File

@@ -22,7 +22,7 @@ jobs:
RUN_ID=$(gh api \
-H "Accept: application/vnd.github+json" \
"/repos/tlsnotary/tlsn/actions/workflows/ci.yml/runs?per_page=100" \
--jq '.workflow_runs[] | select(.head_branch == "${{ github.event.inputs.tag }}") | .id')
--jq '.workflow_runs[] | select(.head_branch == "${{ github.event.inputs.tag }}") | .id' | sort | tail -1)
if [ -z "$RUN_ID" ]; then
echo "No run found for tag ${{ github.event.inputs.tag }}"