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:
Timothy DeHerrera 2021-03-01 22:25:42 -07:00
parent 827fe22334
commit 6e2ed81438
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
run: |
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
uses: actions/checkout@v2
with:
@ -44,7 +44,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
run: |
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
uses: actions/checkout@v2