Skip to content

Commit ce8a1c9

Browse files
authored
chore(ci): add bendsql binary to release (#17289)
1 parent 13d1dcd commit ce8a1c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/pack_binaries/action.yml

+8
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ runs:
2323
category: ${{ inputs.category }}
2424
path: distro/bin
2525
artifacts: metactl,meta,query,query.debug
26+
- name: Download BendSQL
27+
shell: bash
28+
env:
29+
GH_TOKEN: ${{ github.token }}
30+
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
33+
tar -xzvf /tmp/bendsql.tar.gz -C distro/bin
2634
- name: Pack Binaries
2735
id: pack_binaries
2836
shell: bash

0 commit comments

Comments
 (0)