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 7fd4717
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/o2-full-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,17 @@ 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)
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: |

Check failure on line 118 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 +127,5 @@ jobs:
-- Giulio Eulisse <[email protected]> $(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"

0 comments on commit 7fd4717

Please sign in to comment.