Skip to content

Commit a52cb27

Browse files
authored
Update release.yml
1 parent b3dab15 commit a52cb27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
push:
1515
tags:
1616
- "v*"
17+
permissions:
18+
contents: write
1719
jobs:
1820
goreleaser:
1921
runs-on: ubuntu-latest
@@ -26,7 +28,8 @@ jobs:
2628

2729
- uses: actions/setup-go@v3
2830
with:
29-
go-version: "1.19"
31+
go-version-file: "go.mod"
32+
cache: true
3033

3134
- name: Import GPG key
3235
uses: crazy-max/ghaction-import-gpg@v5

0 commit comments

Comments
 (0)