We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3b188 commit 9ad305dCopy full SHA for 9ad305d
ci/lib.sh
@@ -57,7 +57,7 @@ arch() {
57
# https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
58
get_artifacts_url() {
59
local artifacts_url
60
- local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request"
+ local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request&branch=$version_branch"
61
local version_branch="v$VERSION"
62
artifacts_url=$(gh api "$workflow_runs_url" | jq -r ".workflow_runs[] | select(.head_branch == \"$version_branch\") | .artifacts_url" | head -n 1)
63
if [[ -z "$artifacts_url" ]]; then
0 commit comments