Skip to content

Commit

Permalink
chore: update the workflow to use crazy-max's action for pgp
Browse files Browse the repository at this point in the history
and another linting fix release workflow
  • Loading branch information
devanshutanna committed Apr 9, 2024
1 parent 09c2806 commit 9990045
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
-
name: Import GPG key
id: import_gpg
uses: hashicorp/ghaction-import-gpg@v2.1.0
env:
uses: crazy-max/ghaction-import-gpg@v6.1.0
with:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ builds:
ignore:
- goos: darwin
goarch: '386'
- goos: windows
goarch: 'arm64'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
Expand All @@ -47,7 +49,7 @@ signs:
- "${signature}"
- "--detach-sign"
- "${artifact}"
release:
# release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
Expand Down

0 comments on commit 9990045

Please sign in to comment.