File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
.github/actions/pack_binaries Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,15 @@ runs:
2323 category : ${{ inputs.category }}
2424 path : distro/bin
2525 artifacts : metactl,meta,query,query.debug
26+ - name : Get Latest BendSQL
27+ id : bendsql
28+ uses : pozetroninc/github-action-get-latest-release@master
29+ with :
30+ repository : databendlabs/bendsql
2631 - name : Download BendSQL
2732 shell : bash
28- env :
29- GH_TOKEN : ${{ github.token }}
3033 run : |
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
34+ curl -sSLfo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/${{ steps.bendsql.outputs.release }}/bendsql-${{ inputs.target }}.tar.gz
3335 mkdir -p distro/bin
3436 tar -xzvf /tmp/bendsql.tar.gz -C distro/bin
3537 - name : Pack Binaries
You can’t perform that action at this time.
0 commit comments