Skip to content

Commit

Permalink
Don't use tty in non interactive env
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Nov 14, 2024
1 parent 4d4a85f commit eb2b7d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/o2-full-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,13 @@ jobs:
run: |
apt update
apt install -y vim git devscripts build-essential lintian debhelper dh-python python3-all python3-setuptools python3-setuptools-scm
GPG_TTY=$(tty)
export GPG_TTY
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
echo -n "${{ secrets.LAUNCHPAD_PPA_GPG_KEY }}" | gpg --no-tty --batch --import
- name: Build a DEB for Ubuntu and push it to the PPA
run: |
GPG_TTY=$(tty)
export GPG_TTY
set -x
git clone https://github.com/alisw/alibuild
cd alibuild
Expand Down

0 comments on commit eb2b7d7

Please sign in to comment.