Skip to content

Commit 25e5ac0

Browse files
authored
(capi): fix 'Set up Go' step from release workflow (#68)
1 parent 231b9ca commit 25e5ac0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
id-token: write
1313
contents: write
1414
steps:
15-
- name: Set up Go
16-
uses: actions/setup-go@v5
17-
with:
18-
go-version-file: "go.mod"
19-
cache: false
2015
- name: Check out code into the Go module directory
2116
uses: actions/checkout@v4
2217
- id: get_version
2318
run: |
2419
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/v!!p')
2520
echo "::set-output name=release_version::$RELEASE_VERSION"
21+
- name: Set up Go
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version-file: "go.mod"
25+
cache: false
2626
- name: Prepare all release files for the provider
2727
run: |
2828
make release TAG=$RELEASE_VERSION

0 commit comments

Comments
 (0)