actions that can have containers need $GITHUB_WORKSPACE, not ${{ github.workspace }}

This commit is contained in:
Jacob Heider 2023-11-23 22:47:19 -05:00
parent f6b5174874
commit 639de95e97
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -58,7 +58,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
FORCE_UNSAFE_CONFIGURE: 1 # some configure scripts refuse to run as root
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY || '-' }}
SRCROOT: ${{ github.workspace }}
SRCROOT: $GITHUB_WORKSPACE
- run: |
ABS_PATHS=$(echo $PATHS | tr ' ' '\n' | sed -e "s_^_/opt/_" | tr '\n' ' ')
@ -130,7 +130,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
# FIXME: this shouldn't be necessary, but it currently is for the
# ubuntu+container test matrix entries. :/
PKGX_PANTRY_PATH: ${{ github.workspace }}
PKGX_PANTRY_PATH: $GITHUB_WORKSPACE
- name: "[post]"
run: echo "HAS_SECRETS=$HAS_SECRETS" >>$GITHUB_ENV