From d877ab1e381fb92048cd62de59026dfb369e8785 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 9 Jun 2020 16:56:37 +0200 Subject: [PATCH] fix: unify definition of GO_VERSION in workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Héctor Hurtado --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79648fc..7794600 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: tags: - v*.*.* +env: + GO_VERSION: 1.14.4 + jobs: build: @@ -17,7 +20,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: '^1.14.3' + go-version: ${{ env.GO_VERSION }} - name: Select custom release notes id: release-notes @@ -43,7 +46,6 @@ jobs: args: release --rm-dist ${{ steps.release-notes.outputs.ARGS }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GO_VERSION: 1.14.4 - name: Clear ~/.gnupg run: |