From 7fd4717b6b0350b4bc90734887fd3e826938ca82 Mon Sep 17 00:00:00 2001 From: Sergio Date: Wed, 25 Sep 2024 14:13:03 +0200 Subject: [PATCH] Fix GPG input --- .github/workflows/o2-full-deps.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/o2-full-deps.yml b/.github/workflows/o2-full-deps.yml index 7477face..16971eec 100644 --- a/.github/workflows/o2-full-deps.yml +++ b/.github/workflows/o2-full-deps.yml @@ -106,18 +106,17 @@ jobs: ALIBUILD_TAG: v1.17.11 ALIBUILD_DISTRO: ${{ matrix.ubuntu_codename }} DEBIAN_FRONTEND: noninteractive - steps: - name: Install prerequisites run: | apt update apt install -y vim git devscripts build-essential lintian debhelper dh-python python3-all python3-setuptools python3-setuptools-scm - cat <<\EOF | gpg --import - ${{ secrets.LAUNCHPAD_PPA_GPG_KEY }} - EOF + export GPG_TTY=$(tty) + echo -n "${{ secrets.LAUNCHPAD_PPA_GPG_KEY }}" | gpg --batch --import --pinentry-mode loopback - name: Build a DEB for Ubuntu and push it to the PPA run: | + export GPG_TTY=$(tty) set -x git clone -b "$ALIBUILD_TAG" https://github.com/alisw/alibuild cd alibuild @@ -128,5 +127,5 @@ jobs: -- Giulio Eulisse $(date -R -u) EOF - debuild --no-lintian -k48F330BAFFA564EF2383E2B472E9262B5C0D9DE5 -S + debuild --no-lintian -kA3A177D7C6BAD5C044ACAC10F56D273E83B84A47 -S dput ppa:alisw/ppa "../python3-alibuild_${ALIBUILD_TAG#v}+${ALIBUILD_DISTRO}_source.changes"