Debian Codegraph @

.github/workflows/release.yml

raw symbols SCIP
1 name: goreleaser
2
3 on:
4 push:
5 tags:
6 - 'v*'
7
8 permissions:
9 contents: write
10
11 jobs:
12 goreleaser:
13 runs-on: ubuntu-latest
14 steps:
15 - name: Checkout
16 uses: actions/checkout@v4
17 with:
18 fetch-depth: 0
19 - name: Set up Go
20 uses: actions/setup-go@v5
21 with:
22 go-version: stable
23 - name: Import GPG key
24 id: import_gpg
25 uses: crazy-max/ghaction-import-gpg@v6
26 with:
27 gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
28 passphrase: ${{ secrets.GPG_PASSPHRASE }}
29 fingerprint: D4060D6A12CE425E19693F3EF860001E7E0108E9
30 - name: Run GoReleaser
31 uses: goreleaser/goreleaser-action@v6
32 with:
33 distribution: goreleaser
34 version: latest
35 args: release --clean
36 env:
37 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38 GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}