Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
pitag-ha committed Dec 15, 2023
1 parent cfba5d2 commit 796855b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/workflow_triggered_by_workflow_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ jobs:
forward_artifact=$(echo $all_artifacts | jq '.artifacts[] | select(.workflow_run.id == ${{ github.event.workflow_run.id }} and .name == "forwarded_instructions")')
id=$(echo $forward_artifact | jq -r '.id')
curl -sSLO -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "$GH_API_ARTIFACTS/$id/zip" -D headers.txt
- name: all_artifacts
run: |
curl -sSL "$GH_API_ARTIFACTS"
- name: Filtered artifacts
run: |
all_artifacts=$(curl -sSL "$GH_API_ARTIFACTS")
echo $all_artifacts | jq '.artifacts[] | select(.workflow_run.id == ${{ github.event.workflow_run.id }} and .name == "forwarded_instructions")'
- name: id
run: |
all_artifacts=$(curl -sSL "$GH_API_ARTIFACTS")
forward_artifact=$(echo $all_artifacts | jq '.artifacts[] | select(.workflow_run.id == ${{ github.event.workflow_run.id }} and .name == "forwarded_instructions")')
echo $forward_artifact | jq -r '.id'
- name: Ls
run: |
ls -la
Expand Down

0 comments on commit 796855b

Please sign in to comment.