File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,15 @@ jobs:
1111 -
1212 id : vars
1313 run : |
14- echo ::set-output name=go_version::$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
15- echo "Using Go version ${{ steps.vars.outputs.go_version }}"
14+ goVersion=$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
15+ echo "go_version=${goVersion}" >> $GITHUB_OUTPUT
16+ echo "Using Go version ${goVersion}"
1617 -
17- name : Setup go
18- uses : actions/setup-go@v2
18+ name : Set up Go
19+ uses : actions/setup-go@v5
1920 with :
2021 go-version : ${{ steps.vars.outputs.go_version }}
22+ -
2123 -
2224 name : Download Go modules
2325 run : go mod download
Original file line number Diff line number Diff line change 1313 uses : actions/checkout@v2
1414 with :
1515 fetch-depth : 0
16- - name : setup dependencies
17- uses : actions/setup-go@v2
16+ -
17+ id : vars
18+ run : |
19+ goVersion=$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
20+ echo "go_version=${goVersion}" >> $GITHUB_OUTPUT
21+ echo "Using Go version ${goVersion}"
22+ -
23+ name : Set up Go
24+ uses : actions/setup-go@v5
25+ with :
26+ go-version : ${{ steps.vars.outputs.go_version }}
27+ -
1828 - name : release dry run
1929 run : make release-dry-run
2030 - uses : go-semantic-release/action@v1
You can’t perform that action at this time.
0 commit comments