Correct run-id evaluation
This commit is contained in:
parent
b2c3e10335
commit
1b321efa30
|
@ -119,7 +119,7 @@ if [ -z "$head_sha" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z ${run_id} ]]; then
|
if [ -z "$run_id" ]; then
|
||||||
# Determine run_id from head_sha
|
# Determine run_id from head_sha
|
||||||
runs=$(request_call "$api_url/actions/runs")
|
runs=$(request_call "$api_url/actions/runs")
|
||||||
run_id=$(echo "$runs" | tr '\r\n' ' ' | python3 -c """
|
run_id=$(echo "$runs" | tr '\r\n' ' ' | python3 -c """
|
||||||
|
|
Loading…
Reference in New Issue