Skip to content

Commit

Permalink
Bring back -q for gh api
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Aug 27, 2024
1 parent 54c0bb7 commit 956e662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-call-workflow-and-wait.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
sleep 60
currentWorkflowRunId=$(gh api repos/$GITHUB_REPOSITORY/actions/workflows/$workflowFile/runs?event=workflow_dispatch&created=">=$dispatchDate" | jq -r '.workflow_runs[0].id')
currentWorkflowRunId=$(gh api repos/$GITHUB_REPOSITORY/actions/workflows/$workflowFile/runs?event=workflow_dispatch&created=">=$dispatchDate" -q '.workflow_runs[0].id')
echo Other workflow current run: $(gh api repos/$GITHUB_REPOSITORY/actions/runs/$currentWorkflowRunId | jq -r '.html_url')
echo Other workflow current run: $(gh api repos/$GITHUB_REPOSITORY/actions/runs/$currentWorkflowRunId -q '.html_url')
while true; do
run_data=$(gh api repos/$GITHUB_REPOSITORY/actions/runs/$currentWorkflowRunId)
Expand Down

0 comments on commit 956e662

Please sign in to comment.