Skip to content

Commit

Permalink
fix: release workflow again
Browse files Browse the repository at this point in the history
OTT-2113
  • Loading branch information
oabdoun committed Oct 5, 2022
1 parent 6d66e52 commit dbbbe83
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# This GitHub action can publish assets for release when a tag is created.
# Currently its setup to run on any tag that matches the pattern "v*"
# (ie. v0.1.0).
#
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
# secret. If you would rather own your own GPG handling, please fork this action
# or use an alternative one for key handling.
#
# You will need to pass the `--batch` flag to `gpg` in your signing step
# in `goreleaser` to indicate this is being used in a non-interactive mode.
#
---
name: Release
on:
Expand All @@ -24,10 +12,9 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: 1.19
- id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
env:
# These secrets will need to be configured for the repository:
- uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- uses: goreleaser/goreleaser-action@v3
Expand Down

0 comments on commit dbbbe83

Please sign in to comment.