diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdda24e..71945a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,17 +25,12 @@ jobs: with: go-version-file: 'go.mod' cache: true - # 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. - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v5 id: import_gpg - uses: hashicorp/ghaction-import-gpg@v2.1.0 - env: - # These secrets will need to be configured for the repository: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.PASSPHRASE }} + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: