mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Update patch.yml
This commit is contained in:
28
.github/workflows/patch.yml
vendored
28
.github/workflows/patch.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
RVVERSION=$(jq -r '.[] | select(.name == "microg-support") | .compatiblePackages[] | select(.name == "com.google.android.youtube") | .versions[-1]' patches.json)
|
||||
YTRVVERSION=$(jq -r '.[] | select(.name == "microg-support") | .compatiblePackages[] | select(.name == "com.google.android.youtube") | .versions[-1]' patches.json)
|
||||
rm -rf patches.json
|
||||
|
||||
curl -s https://api.github.com/repos/inotia00/revanced-patches/releases/latest \
|
||||
@@ -33,13 +33,29 @@ jobs:
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
RVEVERSION=$(jq -r '.[] | select(.name == "microg-support") | .compatiblePackages[] | select(.name == "com.google.android.youtube") | .versions[-1]' patches.json)
|
||||
YTRVEVERSION=$(jq -r '.[] | select(.name == "microg-support") | .compatiblePackages[] | select(.name == "com.google.android.youtube") | .versions[-1]' patches.json)
|
||||
rm -rf patches.json
|
||||
|
||||
curl -s https://api.github.com/repos/revanced/revanced-patches/releases/latest \
|
||||
| grep "browser_download_url.*json" \
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
YTMRVVERSION=$(jq -r '.[] | select(.name == "hide-get-premium") | .compatiblePackages[] | select(.name == "com.google.android.apps.youtube.music") | .versions[-1]' patches.json)
|
||||
rm -rf patches.json
|
||||
|
||||
curl -s https://api.github.com/repos/inotia00/revanced-patches/releases/latest \
|
||||
| grep "browser_download_url.*json" \
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
YTMRVEVERSION=$(jq -r '.[] | select(.name == "hide-get-premium") | .compatiblePackages[] | select(.name == "com.google.android.apps.youtube.music") | .versions[-1]' patches.json)
|
||||
rm -rf patches.json
|
||||
echo "Download Below :point_down:" > ${{ github.workspace }}-CHANGELOG.txt
|
||||
echo "INFO-YT-RV=Youtube-Revanced-v${YT-RVVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YT-RVE=Youtube-Revanced Extended-v${YT-RVEVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YTM-RV=Youtube-Music-Revanced-v${YTM-RVVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YTM-RVE=Youtube-Music-Revanced Extended-v${YTM-RVEVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YT-RV=Youtube-Revanced-v${YTRVVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YT-RVE=Youtube-Revanced Extended-v${YTRVEVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YTM-RV=Youtube-Music-Revanced-v${YTMRVVERSION}" >> $GITHUB_ENV
|
||||
echo "INFO-YTM-RVE=Youtube-Music-Revanced Extended-v${YTMRVEVERSION}" >> $GITHUB_ENV
|
||||
|
||||
- uses: vishnudxb/cancel-workflow@v1.2
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user