mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix bottling gnupg
This commit is contained in:
parent
b0070b090f
commit
f71b32abe2
14
.github/workflows/bottle.yml
vendored
14
.github/workflows/bottle.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue