mirror of https://github.com/lapce/lapce.git
sha short update
This commit is contained in:
parent
7a8fffa175
commit
f7db9266d6
|
@ -32,7 +32,7 @@ jobs:
|
|||
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV
|
||||
- id: vars
|
||||
shell: bash
|
||||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||
run: echo "::set-output name=sha_short::${GITHUB_SHA::7}"
|
||||
- if: env.TAG_NAME == 'nightly'
|
||||
run: echo 'TAG_NAME=nightly-${{ steps.vars.outputs.sha_short }}' >> $GITHUB_ENV
|
||||
- id: tag
|
||||
|
|
Loading…
Reference in New Issue