style: don't pollute env, use step outputs instead (go version)

This commit is contained in:
pancho horrillo
2020-09-30 11:44:30 +02:00
parent f12cce1884
commit 4e1084c092
+2 -2
View File
@@ -18,11 +18,11 @@ jobs:
- name: Load Go version
id: go-version
run: |
echo "::set-env name=GO_VERSION::$(tr -d '\n' < .github/versions/go)"
echo "::set-output name=go-version::$(tr -d '\n' < .github/versions/go)"
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
go-version: ${{ steps.go-version.outputs.go-version }}
- name: Select custom release notes
id: release-notes