diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28ce68f0..ebef3604 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,10 @@ jobs: with: gpg_private_key: ${{ secrets.RELEASE_SIGNING_KEY }} passphrase: ${{ secrets.RELEASE_SIGNING_KEY_PASSPHRASE }} - + + - name: Set GPG_TTY + run: echo "GPG_TTY=$(tty)" >> $GITHUB_ENV + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -34,3 +37,4 @@ jobs: env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GPG_TTY: ${{ env.GPG_TTY }} \ No newline at end of file