mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
Update buildapp.yml
Added step hiding URL to decrypted YOUTUBE ipa from public actions workflow log. - these changes were by “marcinmajsc” in https://github.com/arichornlover/uYouEnhanced/pull/768
This commit is contained in:

committed by
GitHub

parent
ea5dff7bb5
commit
ef11bed46b
10
.github/workflows/buildapp.yml
vendored
10
.github/workflows/buildapp.yml
vendored
@@ -120,10 +120,16 @@ 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
|
||||||
|
|
||||||
|
- 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
|
- name: Prepare YouTube iPA
|
||||||
run: |
|
run: |
|
||||||
# Download and unzip iPA
|
# Download and unzip iPA
|
||||||
wget "$YOUTUBE_URL" --no-verbose -O main/YouTube.ipa
|
wget "$YOUTUBE_URL" --quiet --no-verbose -O main/YouTube.ipa
|
||||||
unzip -q main/YouTube.ipa -d main/tmp
|
unzip -q main/YouTube.ipa -d main/tmp
|
||||||
# Get the version number of the YouTube app and store it
|
# Get the version number of the YouTube app and store it
|
||||||
echo "YT_VERSION=$(grep -A 1 '<key>CFBundleVersion</key>' main/tmp/Payload/YouTube.app/Info.plist | grep '<string>' | awk -F'[><]' '{print $3}')" >> $GITHUB_ENV
|
echo "YT_VERSION=$(grep -A 1 '<key>CFBundleVersion</key>' main/tmp/Payload/YouTube.app/Info.plist | grep '<string>' | awk -F'[><]' '{print $3}')" >> $GITHUB_ENV
|
||||||
@@ -155,7 +161,7 @@ jobs:
|
|||||||
cp -R main/Extensions/*.appex main/tmp/Payload/YouTube.app/PlugIns
|
cp -R main/Extensions/*.appex main/tmp/Payload/YouTube.app/PlugIns
|
||||||
env:
|
env:
|
||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
YOUTUBE_URL: ${{ inputs.decrypted_youtube_url }}
|
YOUTUBE_URL: ${{ env.URL_YT }}
|
||||||
|
|
||||||
- name: Build Package
|
- name: Build Package
|
||||||
id: build_package
|
id: build_package
|
||||||
|
Reference in New Issue
Block a user