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:
11
.github/workflows/patch.yml
vendored
11
.github/workflows/patch.yml
vendored
@@ -15,9 +15,6 @@ jobs:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Generate Changelog
|
||||
run: |
|
||||
curl -s https://api.github.com/repos/revanced/revanced-patches/releases/latest \
|
||||
@@ -26,6 +23,7 @@ jobs:
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
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
|
||||
curl -s https://api.github.com/repos/inotia00/revanced-patches/releases/latest \
|
||||
| grep "browser_download_url.*json" \
|
||||
@@ -33,6 +31,7 @@ jobs:
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
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
|
||||
curl -s https://api.github.com/repos/revanced/revanced-patches/releases/latest \
|
||||
| grep "browser_download_url.*json" \
|
||||
@@ -40,6 +39,7 @@ jobs:
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
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
|
||||
curl -s https://api.github.com/repos/inotia00/revanced-patches/releases/latest \
|
||||
| grep "browser_download_url.*json" \
|
||||
@@ -47,12 +47,9 @@ jobs:
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
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
|
||||
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
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user