diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91f44e8..ffb6233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,10 +72,10 @@ jobs: - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v2 - env: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY_TEST }} - PASSPHRASE: ${{ secrets.PASSPHRASE_TEST }} + uses: crazy-max/ghaction-import-gpg@v3 + with: + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY_TEST }} + passphrase: ${{ secrets.PASSPHRASE_TEST }} - name: Check uses: ./ diff --git a/README.md b/README.md index 99e0946..e92c68b 100644 --- a/README.md +++ b/README.md @@ -97,10 +97,10 @@ If [signing is enabled](https://goreleaser.com/customization/#Signing) in your G - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v2 - env: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.PASSPHRASE }} + uses: crazy-max/ghaction-import-gpg@v3 + with: + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2