workflows#release: set-env is deprecated
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands
This commit is contained in:
parent
827fe22334
commit
6e2ed81438
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
GITHUB_REF: ${{ github.ref }}
|
GITHUB_REF: ${{ github.ref }}
|
||||||
run: |
|
run: |
|
||||||
export CURRENT_VERSION=${GITHUB_TAG/refs\/tags\/v/}
|
export CURRENT_VERSION=${GITHUB_TAG/refs\/tags\/v/}
|
||||||
echo "::set-env name=CURRENT_VERSION::$CURRENT_VERSION"
|
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
GITHUB_REF: ${{ github.ref }}
|
GITHUB_REF: ${{ github.ref }}
|
||||||
run: |
|
run: |
|
||||||
export CURRENT_VERSION=${GITHUB_TAG/refs\/tags\/v/}
|
export CURRENT_VERSION=${GITHUB_TAG/refs\/tags\/v/}
|
||||||
echo "::set-env name=CURRENT_VERSION::$CURRENT_VERSION"
|
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in a new issue