File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- # /usr/bin/env bash
1+ #! /usr/bin/env bash
2+
23set -e
34
45(which gh > /dev/null 2>&1 ) || (echo " Please install gh the github cli tool: https://github.com/cli/cli#installation" && exit 1)
56
67REV=${REV:= $(git rev-parse HEAD)}
78RUN_ID=$( \
8- gh run list --commit $ REV --json name,databaseId | \
9+ gh run list --commit " ${ REV} " --json name,databaseId | \
910 jq -r ' .[] | select(.name == "Checks" or .name == "Build and upload bindings") | .databaseId' \
1011 )
1112
2122fi
2223
2324gh run watch " $RUN_ID " --exit-status || echo " Warning: ci failed on this job, trying to download bindings anyway"
24- # remove if it exists but don't fail
25+ # remove if it exists but don't fail
2526if [ -f " .bindings_download/bindings.tar.gz" ]; then
2627 rm .bindings_download/bindings.tar.gz
2728fi
You can’t perform that action at this time.
0 commit comments