Skip to content

Commit

Permalink
🌱 Update .github/workflows/goreleaser.yaml (#2755)
Browse files Browse the repository at this point in the history
- Update `goreleaser/goreleaser-action` to `v2.5.0`
- Remove GPG key import step and `GPG_FINGERPRINT` from environment variables
- Move `version_flags` to `GITHUB_OUTPUT`

[.github/workflows/goreleaser.yaml]
- Remove GPG key import step
- Update `goreleaser/goreleaser-action` to `v2.5.0`
- Remove `GPG_FINGERPRINT` from environment variables
- Move `version_flags` to `GITHUB_OUTPUT`

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
  • Loading branch information
naveensrinivasan committed Mar 15, 2023
1 parent 0b45c90 commit c20ed9e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ jobs:
- name: Configure ldflags
id: ldflags
run: echo "version_flags=$(./scripts/version-ldflags)" >> "$GITHUB_OUTPUT"
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549 # v5.2.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
id: run-goreleaser
uses: goreleaser/goreleaser-action@8f67e590f2d095516493f017008adc464e63adb1 # v2.5.0
Expand All @@ -61,7 +55,6 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
VERSION_LDFLAGS: ${{ steps.ldflags.outputs.version_flags }}
- name: Generate subject
id: hash
Expand Down

0 comments on commit c20ed9e

Please sign in to comment.