Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit fa617d0

Browse files
author
[Partner] Alexander Sokolov
committed
github actions fixed
1 parent 5dcc4f3 commit fa617d0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,34 @@ on:
1414
push:
1515
tags:
1616
- 'v*'
17+
permissions:
18+
contents: write
1719
jobs:
1820
goreleaser:
1921
runs-on: ubuntu-latest
2022
steps:
2123
-
2224
name: Checkout
23-
uses: actions/checkout@v2.4.0
25+
uses: actions/checkout@v3
2426
-
2527
name: Unshallow
2628
run: git fetch --prune --unshallow
2729
-
2830
name: Set up Go
29-
uses: actions/setup-go@v2
31+
uses: actions/setup-go@v3
3032
with:
31-
go-version: 1.17
33+
go-version-file: 'go.mod'
34+
cache: true
3235
-
3336
name: Import GPG key
37+
uses: crazy-max/ghaction-import-gpg@v5
3438
id: import_gpg
35-
uses: crazy-max/[email protected]
3639
with:
3740
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
38-
passphrase: ${{ secrets.GPG_PASSPHRASE }}
41+
passphrase: ${{ secrets.PASSPHRASE }}
3942
-
4043
name: Run GoReleaser
41-
uses: goreleaser/goreleaser-action@v2.8.1
44+
uses: goreleaser/goreleaser-action@v3.0.0
4245
with:
4346
version: latest
4447
args: release --rm-dist

0 commit comments

Comments
 (0)