mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-05-17 10:03:47 +00:00
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:
parent
b53aa9ba08
commit
358775e880
1 changed files with 4 additions and 4 deletions
8
.github/workflows/buildapp.yml
vendored
8
.github/workflows/buildapp.yml
vendored
|
|
@ -111,7 +111,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./theos-jailed/install
|
./theos-jailed/install
|
||||||
env:
|
env:
|
||||||
THEOS: theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
||||||
- name: Fix Compiling
|
- name: Fix Compiling
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -120,7 +120,7 @@ jobs:
|
||||||
(echo export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" >> ~/.bash_profile)
|
(echo export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" >> ~/.bash_profile)
|
||||||
source ~/.bash_profile
|
source ~/.bash_profile
|
||||||
env:
|
env:
|
||||||
THEOS: theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
||||||
- name: Hash YT ipa url
|
- name: Hash YT ipa url
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -165,7 +165,7 @@ jobs:
|
||||||
# Manually install the Open in YouTube extension
|
# Manually install the Open in YouTube extension
|
||||||
cp -R Extensions/*.appex tmp/Payload/YouTube.app/PlugIns
|
cp -R Extensions/*.appex tmp/Payload/YouTube.app/PlugIns
|
||||||
env:
|
env:
|
||||||
THEOS: theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
YOUTUBE_URL: ${{ env.URL_YT }}
|
YOUTUBE_URL: ${{ env.URL_YT }}
|
||||||
|
|
||||||
- name: Build Package
|
- 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[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
||||||
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
||||||
env:
|
env:
|
||||||
THEOS: theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
BUNDLE_ID: ${{ inputs.bundle_id }}
|
BUNDLE_ID: ${{ inputs.bundle_id }}
|
||||||
APP_NAME: ${{ inputs.app_name }}
|
APP_NAME: ${{ inputs.app_name }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue