style: don't pollute env, use step outputs instead (go version)
This commit is contained in:
@@ -18,11 +18,11 @@ jobs:
|
|||||||
- name: Load Go version
|
- name: Load Go version
|
||||||
id: go-version
|
id: go-version
|
||||||
run: |
|
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
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ steps.go-version.outputs.go-version }}
|
||||||
|
|
||||||
- name: Select custom release notes
|
- name: Select custom release notes
|
||||||
id: release-notes
|
id: release-notes
|
||||||
|
|||||||
Reference in New Issue
Block a user