Skip to content

Commit

Permalink
Merge pull request #527 from henrywang/test_container_ci
Browse files Browse the repository at this point in the history
ci: install jq in "Get Current Job Log URL" step
  • Loading branch information
mergify[bot] committed Jul 5, 2023
2 parents 2d81e70 + 3533229 commit c17b09d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- name: Get Current Job Log URL
id: job-log-url
run: |
sudo dnf install -y jq
JOB_HTML_URL=$(curl --get -Ss -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/fedora-iot/fido-device-onboard-rs/actions/runs/${GITHUB_RUN_ID}/jobs?per_page=30" | jq -r --arg job_name "fido-container" '.jobs | map(select(.name == "fido-container")) | .[0].html_url')
echo "html_url=$JOB_HTML_URL" >> $GITHUB_OUTPUT
env:
Expand Down

0 comments on commit c17b09d

Please sign in to comment.