File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6
6
- " v*"
7
7
workflow_dispatch :
8
8
inputs :
9
- # For some reason, setup-go won't actually pick up a new patch version if
10
- # it has an old one cached. We need to manually specify the versions so we
11
- # can get the latest release. Never use "~1.xx" here!
12
9
go_version :
13
10
description : " Go version to use for building."
14
11
required : false
35
32
# https://github.blog/changelog/2022-06-10-github-actions-inputs-unified-across-manual-and-reusable-workflows/
36
33
CODER_RELEASE : ${{ !inputs.dry_run }}
37
34
CODER_DRY_RUN : ${{ inputs.dry_run }}
35
+ # For some reason, setup-go won't actually pick up a new patch version if
36
+ # it has an old one cached. We need to manually specify the versions so we
37
+ # can get the latest release. Never use "~1.xx" here!
38
+ CODER_GO_VERSION : " 1.20.4"
38
39
39
40
jobs :
40
41
release :
99
100
100
101
- uses : actions/setup-go@v4
101
102
with :
102
- go-version : ${{ inputs.go_version }}
103
+ go-version : ${{ env.CODER_GO_VERSION }}
103
104
104
105
- name : Cache Node
105
106
id : cache-node
You can’t perform that action at this time.
0 commit comments