Skip to content

Commit a8fad6a

Browse files
authored
Merge pull request #211 from fluxcd/fix-release-workflow
Fix release workflow
2 parents 620d438 + e52a870 commit a8fad6a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ jobs:
1616
- name: Restore Go cache
1717
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
1818
with:
19-
go-version: 1.18
19+
path: ~/go/pkg/mod
20+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
21+
restore-keys: |
22+
${{ runner.os }}-go-
23+
- name: Setup Go
24+
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
25+
with:
26+
go-version: 1.18.x
2027
- name: Download release notes utility
2128
env:
2229
GH_REL_URL: https://github.com/buchanae/github-release-notes/releases/download/0.2.0/github-release-notes-linux-amd64-0.2.0.tar.gz

0 commit comments

Comments
 (0)