From 87d00142b3113cd76810ba848d6c6fb6d1d0031c Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Wed, 31 Jul 2024 11:33:45 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c41c9cda3..c6a0d1b15 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -68,7 +68,7 @@ jobs: JOBINFO="$(curl --get -Ss -H "Authorization: Bearer ${GITHUB_TOKEN}" -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs?per_page=30")" echo "${JOBINFO}" | grep "Resource not accessible by integration" && exit 1 echo "${JOBINFO}" - eval "$(echo ${JOBINFO} | jq -r --arg job_name '${{ inputs.name }}' '.jobs | map(select(.name == $job_name)) | .[0] | @sh "job_id=\(.id) html_url=\(.html_url)"')" + eval "$(echo ${JOBINFO} | jq -r --arg job_name '${{ inputs.jobs_path }}' '.jobs | map(select(.name == $job_name)) | .[0] | @sh "job_id=\(.id) html_url=\(.html_url)"')" # # Use GitHub API to create a comment on the PR COMMENT="View details about the '${{ inputs.name }}' build [${{ github.run_number }}](${html_url}) in the [Build Scan](${{ steps.mvnBuild.outputs.buildscan_uri }}) 📊"