From 1f0f29a4ac5277a8f7d25fe732f6c955e909a8a4 Mon Sep 17 00:00:00 2001 From: FiorenMas <102145692+FiorenMas@users.noreply.github.com> Date: Wed, 12 Apr 2023 01:38:27 +0700 Subject: [PATCH] Update patch.yml --- .github/workflows/patch.yml | 49 ++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index 4c46761..9c247d7 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -45,13 +45,6 @@ jobs: | 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 @@ -74,27 +67,7 @@ jobs: keep_latest: 0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Release Youtube Revanced - uses: softprops/action-gh-release@v1 - with: - files: yt-revanced.apk - name: ${{ env.INFO-YT-RV }} - tag_name: YT-Revanced - body_path: ${{ github.workspace }}-CHANGELOG.txt - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Release Youtube Revanced Extended - uses: softprops/action-gh-release@v1 - with: - files: yt-revanced-extended.apk - name: ${{ env.INFO-YT-RVE }} - tag_name: YT-Revanced-Extended - body_path: ${{ github.workspace }}-CHANGELOG.txt - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Release Youtube Music Revanced uses: softprops/action-gh-release@v1 with: @@ -115,6 +88,26 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Release Youtube Revanced + uses: softprops/action-gh-release@v1 + with: + files: yt-revanced.apk + name: ${{ env.INFO-YT-RV }} + tag_name: YT-Revanced + body_path: ${{ github.workspace }}-CHANGELOG.txt + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Release Youtube Revanced Extended + uses: softprops/action-gh-release@v1 + with: + files: yt-revanced-extended.apk + name: ${{ env.INFO-YT-RVE }} + tag_name: YT-Revanced-Extended + body_path: ${{ github.workspace }}-CHANGELOG.txt + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Delete workflow runs uses: Mattraks/delete-workflow-runs@v2 with: