Remove set-env from release workflow
This commit is contained in:
4
.github/workflows/publish-release.yml
vendored
4
.github/workflows/publish-release.yml
vendored
@@ -83,11 +83,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||||
echo ::set-env name=VERSION::${GITHUB_REF#refs/tags/v}
|
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||||
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
echo ::set-output name=RELEASE_VERSION::${GITHUB_REF#refs/tags/}
|
echo ::set-output name=RELEASE_VERSION::${GITHUB_REF#refs/tags/}
|
||||||
else
|
else
|
||||||
echo ::set-env name=VERSION::0.0.0
|
echo "VERSION=0.0.0" >> $GITHUB_ENV
|
||||||
echo ::set-output name=VERSION::0.0.0
|
echo ::set-output name=VERSION::0.0.0
|
||||||
echo ::set-output name=RELEASE_VERSION::${GITHUB_SHA::7}
|
echo ::set-output name=RELEASE_VERSION::${GITHUB_SHA::7}
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user