Skip to content

Commit e71f3b5

Browse files
authored
chore(ci): fix pack binaries (#17332)
1 parent ffb8771 commit e71f3b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/actions/pack_binaries/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ runs:
2828
env:
2929
GH_TOKEN: ${{ github.token }}
3030
run: |
31-
verison=$(gh release list --repo databendlabs/bendsql | head -n 1 | awk '{print $1}')
32-
curl -sSLfo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/${verison}/bendsql-${verison}-${{ inputs.target }}.tar.gz
31+
verison=$(gh release list --repo databendlabs/bendsql --json 'name' --jq '.[].name' | head -n 1)
32+
curl -sSLfo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/${verison}/bendsql-${{ inputs.target }}.tar.gz
33+
mkdir -p distro/bin
3334
tar -xzvf /tmp/bendsql.tar.gz -C distro/bin
3435
- name: Pack Binaries
3536
id: pack_binaries

0 commit comments

Comments
 (0)