fix bottling gnupg

This commit is contained in:
Jacob Heider 2023-11-11 22:30:31 -05:00
parent b0070b090f
commit f71b32abe2
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB
2 changed files with 8 additions and 8 deletions

View file

@ -50,13 +50,7 @@ jobs:
timeout-minutes: 10
with:
prefix: ${{ github.workspace }}/.pkgx
- run: |
echo $GPG_PRIVATE_KEY | \
base64 -d | \
pkgx +gnupg.org gpg --import --batch --yes
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
pkgs: gnupg.org
- uses: actions/download-artifact@v3
if: ${{ inputs.new-version }}
@ -92,6 +86,12 @@ jobs:
done
working-directory: ${{ github.workspace }}/.pkgx
- run: echo $GPG_PRIVATE_KEY |
base64 -d |
pkgx gpg --import --batch --yes
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
- uses: pkgxdev/brewkit/actions/bottle@v0
id: bottle-xz
with:

View file

@ -3,7 +3,7 @@
d=$(dirname "$0")
etc="$d/../etc/gnupg"
export GNUPGHOME=${GNUPGHOME:-"$etc"}
export GNUPGHOME="${GNUPGHOME:-"$etc"}"
if [ ! -f "$etc/gpg.conf" ]; then
mkdir -p "$etc"