From 4269d70cf823958e439e1edac09bac7c0ec11350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Garci=CC=81a=20Hierro?= Date: Sun, 29 Nov 2020 12:34:47 +0000 Subject: [PATCH] Use new action API commands to set environment and paths in release.yml --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ccf081..c6360f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,9 +3,8 @@ name: Publish release on: push: tags: - - 'v*' + - "v*" jobs: - publish: strategy: matrix: @@ -21,10 +20,10 @@ jobs: - name: Set GOPATH, PATH and ENV run: | - echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)" - echo "::set-env name=GO111MODULE::on" - echo "::set-env name=GOPROXY::https://proxy.golang.org" - echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin" + echo "GOPATH=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV + echo "GO111MODULE=on" >> $GITHUB_ENV + echo "GOPROXY=https://proxy.golang.org" >> $GITHUB_ENV + echo "$(dirname $GITHUB_WORKSPACE)/bin" >> $GITHUB_PATH shell: bash - name: Checkout Code