revert ytuhd to 0f59b38, check inputs for theos
This commit is contained in:
@@ -105,6 +105,7 @@ jobs:
|
||||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
||||
|
||||
- name: Cache Theos
|
||||
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||
id: theos
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
@@ -115,7 +116,7 @@ jobs:
|
||||
restore-keys: ${{ env.cache-name }}
|
||||
|
||||
- name: Setup Theos
|
||||
if: steps.theos.outputs.cache-hit != 'true'
|
||||
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: theos/theos
|
||||
@@ -124,7 +125,7 @@ jobs:
|
||||
submodules: recursive
|
||||
|
||||
- name: Download iOS SDK
|
||||
if: steps.theos.outputs.cache-hit != 'true'
|
||||
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
|
||||
cd sdks
|
||||
@@ -152,6 +153,7 @@ jobs:
|
||||
mv *.appex ${{ github.workspace }}
|
||||
|
||||
- name: Clone YouTubeHeader
|
||||
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||
run: |
|
||||
if [ -d "$THEOS/include/YouTubeHeader" ]; then
|
||||
echo "YouTubeHeader exists. Pulling latest changes..."
|
||||
@@ -172,6 +174,7 @@ jobs:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
- name: Clone PSHeader
|
||||
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||
run: |
|
||||
if [ -d "$THEOS/include/PSHeader" ]; then
|
||||
echo "PSHeader exists. Pulling latest changes..."
|
||||
@@ -193,9 +196,11 @@ jobs:
|
||||
|
||||
- name: Clone YTUHD
|
||||
if: ${{ inputs.enable_ytuhd }}
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YTUHD.git
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: PoomSmart/YTUHD
|
||||
ref: 0f59b38817d554ab692a0053456319847a6ab1a1
|
||||
path: ${{ github.workspace }}/YTUHD
|
||||
|
||||
- name: Clone Return-YouTube-Dislikes
|
||||
if: ${{ inputs.enable_ryd }}
|
||||
@@ -294,9 +299,9 @@ jobs:
|
||||
run: |
|
||||
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
|
||||
|
||||
for deb in youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
|
||||
if [ -f "$deb" ]; then
|
||||
tweaks="$tweaks $deb"
|
||||
for f in *.deb; do
|
||||
if [ -f "$f" ]; then
|
||||
tweaks="$tweaks $f"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user