Skip to content

Commit

Permalink
chore: fix gpg action call
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcstephens committed Aug 25, 2023
1 parent a624bb3 commit 15c5fb7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ name: release
on:
push:
tags:
- 'v*'
- "v*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v3
-
name: Unshallow

- name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
-
name: Import GPG key
go-version: "1.21"

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
env:
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
Expand Down

0 comments on commit 15c5fb7

Please sign in to comment.