somehow, not in env

This commit is contained in:
Jacob Heider 2023-11-24 00:01:04 -05:00
parent fdbf12161e
commit 59223eca9d
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -52,13 +52,17 @@ jobs:
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }} p12-file-base64: ${{ secrets.APPLE_CERTIFICATE_P12 }}
p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }} p12-password: ${{ secrets.APPLE_CERTIFICATE_P12_PASSWORD }}
# FIXME: this shouldn't be necessary, but it currently is for the
# gha+container build matrix entries. :/
- name: set srcroot
run: echo "SRCROOT=$GITHUB_WORKSPACE" >>$GITHUB_ENV
- run: pkg build ${{ needs.get-platform.outputs.available }} - run: pkg build ${{ needs.get-platform.outputs.available }}
id: build id: build
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }} APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }}
SRCROOT: ${{ env.GITHUB_WORKSPACE }}
- run: | - run: |
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_/opt/_" | tr '\n' ' ') ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_/opt/_" | tr '\n' ' ')
@ -125,12 +129,14 @@ jobs:
- name: extract bottles - name: extract bottles
run: tar xzvf artifacts.tgz -C $HOME/.pkgx run: tar xzvf artifacts.tgz -C $HOME/.pkgx
# FIXME: this shouldn't be necessary, but it currently is for the
# ubuntu+container test matrix entries. :/
- name: set pantry path
run: echo "PKGX_PANTRY_PATH=$GITHUB_WORKSPACE" >>$GITHUB_ENV
- run: pkg test ${{ needs.get-platform.outputs.available }} - run: pkg test ${{ needs.get-platform.outputs.available }}
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
# FIXME: this shouldn't be necessary, but it currently is for the
# ubuntu+container test matrix entries. :/
PKGX_PANTRY_PATH: ${{ env.GITHUB_WORKSPACE }}
- name: "[post]" - name: "[post]"
run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV