Skip to content

Commit 4a9a06a

Browse files
authored
fix user terminal (#2032)
1 parent e923fd5 commit 4a9a06a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ jobs:
5555
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
5656
passphrase: ${{ secrets.PASSPHRASE }}
5757
- name: Set the user terminal
58-
run: |
59-
GPG_TTY=$(tty)
60-
export GPG_TTY
58+
run: GPG_TTY=$(tty) && export GPG_TTY
6159
- name: Run GoReleaser
6260
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8
6361
with:

0 commit comments

Comments
 (0)