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
|
timeout-minutes: 10
|
||||||
with:
|
with:
|
||||||
prefix: ${{ github.workspace }}/.pkgx
|
prefix: ${{ github.workspace }}/.pkgx
|
||||||
|
pkgs: gnupg.org
|
||||||
- run: |
|
|
||||||
echo $GPG_PRIVATE_KEY | \
|
|
||||||
base64 -d | \
|
|
||||||
pkgx +gnupg.org gpg --import --batch --yes
|
|
||||||
env:
|
|
||||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
if: ${{ inputs.new-version }}
|
if: ${{ inputs.new-version }}
|
||||||
|
@ -92,6 +86,12 @@ jobs:
|
||||||
done
|
done
|
||||||
working-directory: ${{ github.workspace }}/.pkgx
|
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
|
- uses: pkgxdev/brewkit/actions/bottle@v0
|
||||||
id: bottle-xz
|
id: bottle-xz
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
d=$(dirname "$0")
|
d=$(dirname "$0")
|
||||||
etc="$d/../etc/gnupg"
|
etc="$d/../etc/gnupg"
|
||||||
|
|
||||||
export GNUPGHOME=${GNUPGHOME:-"$etc"}
|
export GNUPGHOME="${GNUPGHOME:-"$etc"}"
|
||||||
|
|
||||||
if [ ! -f "$etc/gpg.conf" ]; then
|
if [ ! -f "$etc/gpg.conf" ]; then
|
||||||
mkdir -p "$etc"
|
mkdir -p "$etc"
|
||||||
|
|
Loading…
Reference in a new issue