Update build script to remove Node24 warnings

This commit is contained in:
Tonwalter888
2026-04-19 20:18:37 +07:00
committed by GitHub
parent 40a04b98c7
commit d6d7c1087f
4 changed files with 14 additions and 16 deletions
+6 -6
View File
@@ -62,7 +62,7 @@ jobs:
id: theos id: theos
uses: actions/cache@v5 uses: actions/cache@v5
env: env:
cache-name: theos_cache_13c2237 cache-name: theos_cache_9bc7340
with: with:
path: theos/ path: theos/
key: ${{ env.cache-name }} key: ${{ env.cache-name }}
@@ -73,7 +73,7 @@ jobs:
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
repository: theos/theos repository: theos/theos
ref: 13c22376b5d83ff759c1993de0a861e673aa522b ref: 9bc73406cf80b711ef4d02c15ff1dedc4478a275
path: theos path: theos
submodules: recursive submodules: recursive
@@ -149,7 +149,7 @@ jobs:
run: git clone --quiet --depth=1 https://github.com/PoomSmart/YouQuality.git run: git clone --quiet --depth=1 https://github.com/PoomSmart/YouQuality.git
- name: Clone YTVideoOverlay - name: Clone YTVideoOverlay
if: ${{ inputs.enable_yq || inputs.enable_youpip }} if: ${{ inputs.enable_yq || inputs.enable_youpip || inputs.enable_ytuhd }}
run: git clone --quiet --depth=1 https://github.com/PoomSmart/YTVideoOverlay.git run: git clone --quiet --depth=1 https://github.com/PoomSmart/YTVideoOverlay.git
- name: Clone DontEatMyContent - name: Clone DontEatMyContent
@@ -165,7 +165,7 @@ jobs:
- name: Build YTUHD - name: Build YTUHD
if: ${{ inputs.enable_ytuhd }} if: ${{ inputs.enable_ytuhd }}
run: | run: |
cd YTUHD && make clean package DEBUG=0 FINALPACKAGE=1 ARCHS=arm64 cd YTUHD && make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ../ytuhd.deb mv packages/*.deb ../ytuhd.deb
- name: Build Return-YouTube-Dislikes - name: Build Return-YouTube-Dislikes
@@ -193,7 +193,7 @@ jobs:
mv packages/*.deb ../yq.deb mv packages/*.deb ../yq.deb
- name: Build YTVideoOverlay - name: Build YTVideoOverlay
if: ${{ inputs.enable_yq || inputs.enable_youpip }} if: ${{ inputs.enable_yq || inputs.enable_youpip || inputs.enable_ytuhd }}
run: | run: |
cd YTVideoOverlay && make clean package DEBUG=0 FINALPACKAGE=1 cd YTVideoOverlay && make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ../ytvo.deb mv packages/*.deb ../ytvo.deb
@@ -213,7 +213,7 @@ jobs:
mv *.appex .. mv *.appex ..
- name: Upload built debs as artifacts - name: Upload built debs as artifacts
uses: actions/upload-artifact@v6 uses: actions/upload-artifact@v7
with: with:
name: built-debs name: built-debs
path: | path: |
+2 -2
View File
@@ -94,7 +94,7 @@ jobs:
steps: steps:
- name: Download built debs - name: Download built debs
uses: actions/download-artifact@v7 uses: actions/download-artifact@v8
with: with:
name: built-debs name: built-debs
path: ${{ github.workspace }} path: ${{ github.workspace }}
@@ -150,7 +150,7 @@ jobs:
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
- name: Upload to GitHub Releases - name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.5.0 uses: softprops/action-gh-release@v3
with: with:
tag_name: ytp-${{ github.run_number }} tag_name: ytp-${{ github.run_number }}
name: YouTubePlus v${{ github.event.inputs.tweak_version }}_cyan_trollfools (${{ github.run_number }}) name: YouTubePlus v${{ github.event.inputs.tweak_version }}_cyan_trollfools (${{ github.run_number }})
+2 -3
View File
@@ -94,7 +94,7 @@ jobs:
steps: steps:
- name: Download built debs - name: Download built debs
uses: actions/download-artifact@v7 uses: actions/download-artifact@v8
with: with:
name: built-debs name: built-debs
path: ${{ github.workspace }} path: ${{ github.workspace }}
@@ -116,7 +116,6 @@ jobs:
- name: Install cyan - name: Install cyan
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
- name: Inject tweaks into IPA - name: Inject tweaks into IPA
run: | run: |
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex" tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
@@ -126,7 +125,7 @@ jobs:
cyan -i youtube.ipa -o YouTubePlus_${{ github.event.inputs.tweak_version }}.ipa -uwef $tweaks -n "${{ github.event.inputs.display_name }}" -b ${{ github.event.inputs.bundle_id }} cyan -i youtube.ipa -o YouTubePlus_${{ github.event.inputs.tweak_version }}.ipa -uwef $tweaks -n "${{ github.event.inputs.display_name }}" -b ${{ github.event.inputs.bundle_id }}
- name: Upload to GitHub Releases - name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.5.0 uses: softprops/action-gh-release@v3
with: with:
tag_name: ytp-${{ github.run_number }} tag_name: ytp-${{ github.run_number }}
name: YouTubePlus v${{ github.event.inputs.tweak_version }} (${{ github.run_number }}) name: YouTubePlus v${{ github.event.inputs.tweak_version }} (${{ github.run_number }})
+2 -3
View File
@@ -94,7 +94,7 @@ jobs:
steps: steps:
- name: Download built debs - name: Download built debs
uses: actions/download-artifact@v7 uses: actions/download-artifact@v8
with: with:
name: built-debs name: built-debs
path: ${{ github.workspace }} path: ${{ github.workspace }}
@@ -116,7 +116,6 @@ jobs:
- name: Install cyan - name: Install cyan
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
- name: Inject tweaks into IPA - name: Inject tweaks into IPA
run: | run: |
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex" tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
@@ -126,7 +125,7 @@ jobs:
cyan -i youtube.ipa -o YouTubePlus_Beta.ipa -uwef $tweaks -n "${{ github.event.inputs.display_name }}" -b ${{ github.event.inputs.bundle_id }} cyan -i youtube.ipa -o YouTubePlus_Beta.ipa -uwef $tweaks -n "${{ github.event.inputs.display_name }}" -b ${{ github.event.inputs.bundle_id }}
- name: Upload to GitHub Releases - name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.5.0 uses: softprops/action-gh-release@v3
with: with:
tag_name: ytp-beta-${{ github.run_number }} tag_name: ytp-beta-${{ github.run_number }}
name: YouTubePlus Beta (${{ github.run_number }}) name: YouTubePlus Beta (${{ github.run_number }})