Skip to content

Commit

Permalink
Debug curl
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Oct 28, 2024
1 parent dfc6c02 commit c63bde3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ jobs:
echo "work-dir=$(pwd)" >> "$GITHUB_OUTPUT"
echo "build-output-dir=$(pwd)/build" >> "$GITHUB_OUTPUT"
# debug
curl -s -H "Authorization: token $GH_TOKEN" \
"https://api.github.com/repos/tenstorrent/tt-forge-fe/actions/runs/11514644813/jobs" | \
jq -r '.jobs[] | .name'
# Github job context unfortunately doesn't contain job_id, this is the workaround how to fetch it using GH API
echo "Expected job name: ${{ env.job-name }}"
JOB_ID=$(curl -s -H "Authorization: token $GH_TOKEN" \
Expand Down

0 comments on commit c63bde3

Please sign in to comment.