diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e55e649..1bcf28a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,10 +33,11 @@ jobs: - name: Set up GPG keys run: | - echo allow-preset-passphrase >>$HOME/.gnupg/gpg-agent.conf + mkdir -p "$HOME/.gnupg" + echo allow-preset-passphrase >>"$HOME/.gnupg/gpg-agent.conf" gpgconf --reload gpg-agent echo "${{ secrets.GPG_SIGNING_KEY }}" | gpg --quiet --batch --yes --import - gpg-connect-agent "PRESET_PASSPHRASE tommie/innernet-debian -1 $(echo ${{ secrets.GPG_SIGNING_PASSPHRASE }} | od -An -w256 -tx1 | tr -d ' ')" /bye + echo '${{ secrets.GPG_SIGNING_PASSPHRASE }}' | /usr/lib/gnupg/gpg-preset-passphrase --preset reprepro:1 - name: Download and include package files run: ./addlatest