Fix THEOS path resolution in CI workflow (#703)

* Initial plan

* 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>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
This commit is contained in:
Copilot 2026-02-11 20:28:14 +01:00 committed by GitHub
parent b53aa9ba08
commit 358775e880
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 }}