Fix THEOS env var to use absolute path in CI workflow

The theos-jailed/install script changes directory to its own location
via cd "$(dirname "$0")", making the relative THEOS path 'theos'
resolve incorrectly. Using ${{ github.workspace }}/theos ensures the
path is always correct regardless of the working directory.

Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-11 19:25:45 +00:00
parent 11501d3ea4
commit 761c97620c

View file

@ -111,7 +111,7 @@ jobs:
run: |
./theos-jailed/install
env:
THEOS: theos
THEOS: ${{ github.workspace }}/theos
- name: Fix Compiling
run: |
@ -120,7 +120,7 @@ jobs:
(echo export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" >> ~/.bash_profile)
source ~/.bash_profile
env:
THEOS: theos
THEOS: ${{ github.workspace }}/theos
- name: Hash YT ipa url
run: |
@ -165,7 +165,7 @@ jobs:
# Manually install the Open in YouTube extension
cp -R Extensions/*.appex tmp/Payload/YouTube.app/PlugIns
env:
THEOS: theos
THEOS: ${{ github.workspace }}/theos
YOUTUBE_URL: ${{ env.URL_YT }}
- name: Build Package
@ -187,7 +187,7 @@ jobs:
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
env:
THEOS: theos
THEOS: ${{ github.workspace }}/theos
BUNDLE_ID: ${{ inputs.bundle_id }}
APP_NAME: ${{ inputs.app_name }}