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