Future proof set-env
This commit is contained in:
parent
f5bd3a29a5
commit
45c7fe21bf
|
@ -149,7 +149,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export CODIES_VERSION="r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
export CODIES_VERSION="r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||||
echo Version $CODIES_VERSION
|
echo Version $CODIES_VERSION
|
||||||
echo "::set-env name=CODIES_VERSION::$CODIES_VERSION"
|
echo CODIES_VERSION=$CODIES_VERSION >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Turnstyle
|
- name: Turnstyle
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
|
|
Loading…
Reference in New Issue