Skip to content

Commit

Permalink
Fix GPG input
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Sep 25, 2024
1 parent eb1968e commit d1b1e89
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/o2-full-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,20 @@ jobs:
ALIBUILD_TAG: v1.17.11
ALIBUILD_DISTRO: ${{ matrix.ubuntu_codename }}
DEBIAN_FRONTEND: noninteractive

steps:
- name: Install prerequisites
run: |

Check failure on line 111 in .github/workflows/o2-full-deps.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2155:warning:3:8: Declare and assign separately to avoid masking return values ``` 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)
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: |

Check failure on line 121 in .github/workflows/o2-full-deps.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2155:warning:1:8: Declare and assign separately to avoid masking return values ``` run: | ^~~~ ```
export GPG_TTY=$(tty)
set -x
git clone -b "$ALIBUILD_TAG" https://github.com/alisw/alibuild
cd alibuild
Expand All @@ -128,5 +130,5 @@ jobs:
-- Giulio Eulisse <[email protected]> $(date -R -u)
EOF
debuild --no-lintian -k48F330BAFFA564EF2383E2B472E9262B5C0D9DE5 -S
debuild --no-lintian -kA3A177D7C6BAD5C044ACAC10F56D273E83B84A47 -S -p"gpg --no-tty"
dput ppa:alisw/ppa "../python3-alibuild_${ALIBUILD_TAG#v}+${ALIBUILD_DISTRO}_source.changes"

0 comments on commit d1b1e89

Please sign in to comment.