From 072351755bc3fa54e1d221882319f24c1784c206 Mon Sep 17 00:00:00 2001 From: Wagner Santos Date: Sat, 21 Nov 2020 06:31:34 -0300 Subject: [PATCH] ci: replace set-env calls with $GITHUB_ENV file Due to security reasons, ::set-env command doesn't work anymore. The new method of updating env vars dynamically is through the $GITHUB_ENV file. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c597538..9a40a16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: Set VERSION env var run: | version=`node -p "require('./package.json').version"` - echo "::set-env name=VERSION::$version" + echo "VERSION=$version" >> $GITHUB_ENV - name: Login to docker registry env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}