From 358775e8801468d8dcb1252aef9e4125e63e3c08 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 20:28:14 +0100 Subject: [PATCH] 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> --- .github/workflows/buildapp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index 0f24c9e..fea7a27 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -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 }}