Skip to content

Commit 00aa392

Browse files
authored
Disable cache for Go setup in release workflow
Disable caching for Go setup in GitHub Actions.
1 parent 61ffb1c commit 00aa392

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23+
# Not necessary to upload cache on self-hosted runner(s)
24+
# ~/go/pkg/mod and ~/.cache/go-build stay on disk between runs automatically.
25+
cache: false
2326
go-version: '1.25'
2427

2528
- name: Run GoReleaser

0 commit comments

Comments
 (0)