From 53a765167394aac807413aff6da205266f711c28 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 19 Oct 2020 19:05:55 +0200 Subject: [PATCH] Fix deprecation warning See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ae8ed1b63e..c1d56a8e0a9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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