Skip to content

Commit 1bb4aaa

Browse files
committed
fix shell and download script
1 parent 65f145d commit 1bb4aaa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/actions/upload/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ runs:
99
- name: Build
1010
uses: ./.github/actions/build
1111
- name: generate tar
12+
shell: bash
1213
run: |
1314
set -Eeu
1415
./pin.sh

src/bindings/scripts/download-bindings.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ set -e
44
(which gh > /dev/null 2>&1) || (echo "Please install gh the github cli tool: https://github.com/cli/cli#installation" && exit 1)
55

66
REV=${REV:=$(git rev-parse HEAD)}
7-
RUN_ID=$(gh run list --commit "$REV" --workflow 'remote_bindings.yml' --json databaseId --jq '.[0].databaseId')
7+
RUN_ID=$( \
8+
gh run list --commit $REV --json name,databaseId | \
9+
jq -r '.[] | select(.name == "Checks" or .name == "Build and upload bindings") | .databaseId' \
10+
)
811

912
if [ -z "$RUN_ID" ]
1013
then

0 commit comments

Comments
 (0)