Skip to content

Commit

Permalink
pkgx^2 deployment woe
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 14, 2025
1 parent 62b772a commit fded37d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ jobs:
apt-get update
apt-get install curl gcc perl-modules openssl make xz-utils --yes;;
esac
# ^^ gpg-agent due to worrying bug running gpg with `pkgx` which I cannot debug RN
- run: tar xJf pkgx-${{ github.event.inputs.version }}.tar.xz --strip-components=1

Expand Down Expand Up @@ -131,9 +130,8 @@ jobs:
# NOTE the +sqlite3 is a bug that we can’t figure out that only fails
# on darwin aarch64 in CI, the sqlite dep is not installed for some
# reason. Works locally! So we're confused and stuck.
# NOTE the pkgx^1 because pkgx^2 deployment woes
run: |
./pkgx pkgx^1 gpg-agent --daemon || true
./pkgx gpg-agent --daemon || true
echo $GPG_PRIVATE_KEY | \
base64 -d | \
./pkgx +sqlite3 gpg --import --batch --yes
Expand All @@ -144,6 +142,11 @@ jobs:
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
if: matrix.platform.build-id != 'linux+x86-64'
# ^^ pkgx^2 deployment woe

- run: echo 'naughty-boy' > $FILENAME.asc
if: matrix.platform.build-id == 'linux+x86-64'

- name: attach product to release
run: ./pkgx gh release upload --clobber
Expand Down

0 comments on commit fded37d

Please sign in to comment.