Skip to content

Commit

Permalink
chore(ci): fix pack binaries (#17332)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Jan 20, 2025
1 parent ffb8771 commit e71f3b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/pack_binaries/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ runs:
env:
GH_TOKEN: ${{ github.token }}
run: |
verison=$(gh release list --repo databendlabs/bendsql | head -n 1 | awk '{print $1}')
curl -sSLfo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/${verison}/bendsql-${verison}-${{ inputs.target }}.tar.gz
verison=$(gh release list --repo databendlabs/bendsql --json 'name' --jq '.[].name' | head -n 1)
curl -sSLfo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/${verison}/bendsql-${{ inputs.target }}.tar.gz
mkdir -p distro/bin
tar -xzvf /tmp/bendsql.tar.gz -C distro/bin
- name: Pack Binaries
id: pack_binaries
Expand Down

0 comments on commit e71f3b5

Please sign in to comment.