mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-04-20 10:12:06 +00:00
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:
parent
11501d3ea4
commit
761c97620c
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: |
|
||||
./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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue