From 6e2ed81438ce705237d953fbc5347dee78bcbd49 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Mon, 1 Mar 2021 22:25:42 -0700 Subject: [PATCH] workflows#release: set-env is deprecated https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3b70fe1..2ebf9f5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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