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:
aric3435 (INACTIVE)
2024-10-15 17:24:58 -05:00
committed by GitHub
parent ea5dff7bb5
commit ef11bed46b

View File

@@ -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