From 35332298095421daccafe195bf9ef660d9ba6d9d Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Wed, 5 Jul 2023 17:56:19 +0800 Subject: [PATCH] ci: install jq in "Get Current Job Log URL" step --- .github/workflows/integration.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index c8c637367..fcc9bcc79 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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: