Skip to content

Commit

Permalink
Add version for nightly. (vesoft-inc#4006)
Browse files Browse the repository at this point in the history
* Add version for nightly.

* Use short sha.

Co-authored-by: Sophie <[email protected]>

confirm with sophie.xie
  • Loading branch information
CPWstatic authored Mar 15, 2022
1 parent 36c15b2 commit 2adec09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: '^1.16.7'
- name: Set github sha outputs
id: github_sha
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: package
run: ./package/package.sh
run: ./package/package.sh -v nightly-${{ steps.github_sha.outputs.sha_short }}
- name: output some vars
id: vars
env:
Expand Down

0 comments on commit 2adec09

Please sign in to comment.