Skip to content

Commit f588be1

Browse files
Fix misused parameter name in nightly dist script
1 parent ef18c39 commit f588be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/webassembly/distribute-latest-toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ github() {
2323
curl --header "authorization: Bearer $GITHUB_TOKEN" "$@"
2424
}
2525

26-
latest_run=$(github "${gh_api}/repos/${repository}/actions/workflows/${workflow_name}/runs?head_branch=${branch}&status=success" \
26+
latest_run=$(github "${gh_api}/repos/${repository}/actions/workflows/${workflow_name}/runs?branch=${branch}&status=success" \
2727
| jq ".workflow_runs | map(select(.head_branch == \"$branch\")) | sort_by(.run_number) | last")
2828

2929
if [ -z "$latest_run" ] || [ "$latest_run" == "null" ]; then

0 commit comments

Comments
 (0)