mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Revert "fix(buildapp): Download IPA before seting up Theos"
This commit is contained in:
parent
7d7db73730
commit
8095533e7b
1 changed files with 12 additions and 9 deletions
21
.github/workflows/buildapp.yml
vendored
21
.github/workflows/buildapp.yml
vendored
|
|
@ -59,13 +59,6 @@ jobs:
|
|||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Hash YT IPA url and download it
|
||||
run: |
|
||||
URL_YT="$(jq -r '.inputs.decrypted_youtube_url' $GITHUB_EVENT_PATH)"
|
||||
echo ::add-mask::$URL_YT
|
||||
echo URL_YT=$URL_YT >> $GITHUB_ENV
|
||||
wget "$URL_YT" --quiet --no-verbose -O YouTube.ipa
|
||||
|
||||
- name: Checkout Main
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
|
|
@ -122,17 +115,27 @@ jobs:
|
|||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
- name: Prepare YT IPA
|
||||
- name: Hash YT ipa url
|
||||
run: |
|
||||
URL_YT="$(jq -r '.inputs.decrypted_youtube_url' $GITHUB_EVENT_PATH)"
|
||||
echo ::add-mask::$URL_YT
|
||||
echo URL_YT=$URL_YT >> $GITHUB_ENV
|
||||
|
||||
- name: Prepare YouTube iPA
|
||||
id: prepare_youtube
|
||||
run: |
|
||||
mv YouTube.ipa main/YouTube.zip
|
||||
wget "$YOUTUBE_URL" --quiet --no-verbose -O main/YouTube.ipa
|
||||
cd ${{ github.workspace }}/main
|
||||
mv YouTube.ipa YouTube.zip
|
||||
unzip -q YouTube.zip
|
||||
youtube_version=$(defaults read "$(pwd)/Payload/YouTube.app/Info" CFBundleVersion)
|
||||
echo "==> YouTube v$youtube_version downloaded!"
|
||||
sed -i '' "17s#.*#YOUTUBE_VERSION = ${youtube_version}#g" Makefile
|
||||
echo "youtube_version=${youtube_version}" >> $GITHUB_OUTPUT
|
||||
|
||||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
YOUTUBE_URL: ${{ env.URL_YT }}
|
||||
|
||||
- name: Fix compiling & Build Package
|
||||
id: build_package
|
||||
|
|
|
|||
Loading…
Reference in a new issue