We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a0912e commit 3722d6aCopy full SHA for 3722d6a
.github/workflows/release.yml
@@ -7,21 +7,29 @@ on:
7
tags:
8
- v*.*.*
9
10
+permissions:
11
+ contents: write
12
+ id-token: write
13
+
14
jobs:
15
goreleaser:
16
runs-on: ubuntu-latest
17
steps:
18
- name: Checkout
19
uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0
22
- name: Set up Go
23
uses: actions/setup-go@v3
24
with:
25
go-version-file: "go.mod"
26
+ cache: true
27
+ - name: Install Cosign
28
+ uses: sigstore/cosign-installer@v2
29
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v3
30
+ uses: goreleaser/goreleaser-action@v4
31
- version: latest
32
+ version: v1.12.3
33
args: release --rm-dist
34
env:
35
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
0 commit comments