Fix deprecation warning
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
fc2383e783
commit
53a7651673
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
@ -79,16 +79,16 @@ jobs:
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
||||
- run: echo "::set-env name=TAG::$(date --iso --utc)"
|
||||
- run: echo "TAG=$(date --iso --utc)" >> $GITHUB_ENV
|
||||
if: github.ref == 'refs/heads/release'
|
||||
- run: echo "::set-env name=TAG::nightly"
|
||||
- run: echo "TAG=nightly" >> $GITHUB_ENV
|
||||
if: github.ref != 'refs/heads/release'
|
||||
- run: 'echo "TAG: $TAG"'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- run: echo "::set-env name=HEAD_SHA::$(git rev-parse HEAD)"
|
||||
- run: echo "HEAD_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||
- run: 'echo "HEAD_SHA: $HEAD_SHA"'
|
||||
|
||||
- uses: actions/download-artifact@v1
|
||||
|
Loading…
Reference in New Issue
Block a user