Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Manual Patch

Manual Patch #42

Workflow file for this run

name: Manual Patch
permissions: write-all
env:
repository: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
org_input: ${{ inputs.org }}
org_event_input: ${{ github.event.inputs.org }}
on:
workflow_dispatch:
inputs:
org:
description: 'Which "Revanced" do you want to patch?'
required: true
default: 'Revanced'
type: choice
options:
- 'Revanced'
- 'Revanced Beta'
- 'Revanced Extended'
- 'Revanced Extended Beta'
- 'Revanced Extended Alpha'
- 'YT Music Revanced Extended Android 7'
- 'YT Music Revanced Extended Android 7 Beta'
- 'YT Music Revanced Extended Android 5-6'
- 'YT Music Revanced Extended Android 5-6 Beta'
- 'RVE-anddea-stable'
- 'RVE-anddea-beta'
- 'Twitter Piko Stable'
- 'Twitter Piko Beta'
- 'Revanced Extended Android 6,7'
- 'RVX Android-6,7 arghya339'
- 'Revanced Extended Android 5'
- 'BiliRoamingM'
- 'Dropped Patches - indrastorms'
workflow_call:
inputs:
org:
required: true
type: string
jobs:
patch_rv:
name: Patch Revanced Stable
if: ${{ github.event.inputs.org == 'Revanced' || inputs.org == 'Revanced' }}
runs-on: ubuntu-latest
strategy:
matrix:
run: [1, 2, 3, 4, 5, 6, 7, 8, 9]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rv
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rv
if: steps.check-gh-rv.outputs.internet_error == '0'
run: bash src/build/Revanced.sh ${{ matrix.run }}
- name: Releasing APK files
id: release-rv
if: steps.check-gh-rv.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rv_beta:
name: Patch Revanced Beta
if: ${{ github.event.inputs.org == 'Revanced Beta' || inputs.org == 'Revanced Beta' }}
runs-on: ubuntu-latest
strategy:
matrix:
run: [1, 2, 3, 4, 5, 6, 7, 8, 9]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rvb
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rvb
if: steps.check-gh-rvb.outputs.internet_error == '0'
run: bash src/build/Revanced-Beta.sh ${{ matrix.run }}
- name: Releasing APK files
id: release-rvb
if: steps.check-gh-rvb.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve_anddea_stable:
name: Patch RVX Anddea Stable
if: ${{ github.event.inputs.org == 'RVE-anddea-stable' || inputs.org == 'RVE-anddea-stable' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-rve-anddea-stable
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve-anddea
if: steps.check-gh-rve-anddea-stable.outputs.internet_error == '0'
run: bash src/build/Anddea-Revanced-Extended.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_anddea_stable
path: |
./release/*.apk
release_rve_anddea_stable:
name: Release RVX Anddea Stable
needs: patch_rve_anddea_stable
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_anddea_stable
path: ./release
- name: Releasing APK files
id: release-rve-anddea-stable
if: steps.check-gh-rve-anddea-stable.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve_anddea_beta:
name: Patch RVX Anddea Beta version
if: ${{ github.event.inputs.org == 'RVE-anddea-beta' || inputs.org == 'RVE-anddea-beta' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-rve-anddea-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve-anddea-beta
if: steps.check-gh-rve-anddea-beta.outputs.internet_error == '0'
run: bash src/build/Anddea-Revanced-Extended-Beta.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_anddea_beta
path: |
./release/*.apk
release_rve_anddea_beta:
name: Release RVX Anddea Beta
needs: patch_rve_anddea_beta
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_anddea_beta
path: ./release
- name: Releasing APK files
id: release-rve-anddea-beta
if: steps.check-gh-rve-anddea-beta.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve:
name: Patch Revanced Extended Stable
if: ${{ github.event.inputs.org == 'Revanced Extended' || inputs.org == 'Revanced Extended' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-rve
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve
if: steps.check-gh-rve.outputs.internet_error == '0'
run: bash src/build/Revanced-Extended.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_rve
path: |
./release/*.apk
release_rve:
name: Release Revanced Extended Stable
needs: patch_rve
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_rve
path: ./release
- name: Releasing APK files
id: release-rve
if: steps.check-gh-rve.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve_beta:
name: Patch Revanced Extended Beta
if: ${{ github.event.inputs.org == 'Revanced Extended Beta' || inputs.org == 'Revanced Extended Beta' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-rve-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve-beta
if: steps.check-gh-rve-beta.outputs.internet_error == '0'
run: bash src/build/Revanced-Extended-Beta.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_rve_beta
path: |
./release/*.apk
release_rve_beta:
name: Release Revanced Extended Beta
needs: patch_rve_beta
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_rve_beta
path: ./release
- name: Releasing APK files
uses: ./.github/actions/release
patch_rve_alpha:
name: Patch Revanced Extended Alpha
if: ${{ github.event.inputs.org == 'Revanced Extended Alpha' || inputs.org == 'Revanced Extended Alpha' }}
runs-on: ubuntu-latest
strategy:
matrix:
run: [1, 2, 3]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rve-alpha
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve-alpha
if: steps.check-gh-rve-alpha.outputs.internet_error == '0'
run: bash src/build/Revanced-Extended-Alpha.sh ${{ matrix.run }}
- name: Releasing APK files
id: release-rve-alpha
if: steps.check-gh-rve-alpha.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_ytm_rve7:
name: Patch YT Music Revanced Extended Android 7
if: ${{ github.event.inputs.org == 'YT Music Revanced Extended Android 7' || inputs.org == 'YT Music Revanced Extended Android 7' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-ytm-rve7
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-ytm-rve7
if: steps.check-gh-ytm-rve7.outputs.internet_error == '0'
run: bash src/build/YT-Music-Revanced-Extended-Android-7.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_ytm_rve7
path: |
./release/*.apk
release_ytm_rve7:
name: Release YT Music Revanced Extended Android 7
needs: patch_ytm_rve7
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_ytm_rve7
path: ./release
- name: Releasing APK files
uses: ./.github/actions/release
patch_ytm_rve7_beta:
name: Patch YT Music Revanced Extended Android 7 Beta
if: ${{ github.event.inputs.org == 'YT Music Revanced Extended Android 7 Beta' || inputs.org == 'YT Music Revanced Extended Android 7 Beta' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-ytm-rve7-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-ytm-rve7-beta
if: steps.check-gh-ytm-rve7-beta.outputs.internet_error == '0'
run: bash src/build/YT-Music-Revanced-Extended-Android-7-Beta.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_ytm_rve7_beta
path: |
./release/*.apk
release_ytm_rve7_beta:
name: Release YT Music Revanced Extended Android 7 Beta
needs: patch_ytm_rve7_beta
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_ytm_rve7_beta
path: ./release
- name: Releasing APK files
uses: ./.github/actions/release
patch_ytm_rve56:
name: Patch YT Music Revanced Extended Android 5-6
if: ${{ github.event.inputs.org == 'YT Music Revanced Extended Android 5-6' || inputs.org == 'YT Music Revanced Extended Android 5-6' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-ytm-rve56
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-ytm-rve56
if: steps.check-gh-ytm-rve56.outputs.internet_error == '0'
run: bash src/build/YT-Music-Revanced-Extended-Android-5-6.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_ytm_rve56
path: |
./release/*.apk
release_ytm_rve56:
name: Release YT Music Revanced Extended Android 5-6
needs: patch_ytm_rve56
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_ytm_rve56
path: ./release
- name: Releasing APK files
uses: ./.github/actions/release
patch_ytm_rve56_beta:
name: Patch YT Music Revanced Extended Android 5-6 Beta
if: ${{ github.event.inputs.org == 'YT Music Revanced Extended Android 5-6 Beta' || inputs.org == 'YT Music Revanced Extended Android 5-6 Beta' }}
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
options: --user root
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Install library
run: |
apt-get update
apt-get install -y curl jq wget unzip
- name: Check github connection
id: check-gh-ytm-rve56-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-ytm-rve56-beta
if: steps.check-gh-ytm-rve56-beta.outputs.internet_error == '0'
run: bash src/build/YT-Music-Revanced-Extended-Android-5-6-Beta.sh
- name: Cache
uses: actions/upload-artifact@v4
with:
name: Cache_ytm_rve56_beta
path: |
./release/*.apk
release_ytm_rve56_beta:
name: Release YT Music Revanced Extended Android 5-6 Beta
needs: patch_ytm_rve56_beta
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache
uses: actions/download-artifact@v4
with:
name: Cache_ytm_rve56_beta
path: ./release
- name: Releasing APK files
uses: ./.github/actions/release
patch_twitter_piko_stable:
name: Patch Twitter Piko Stable
if: ${{ github.event.inputs.org == 'Twitter Piko Stable' || inputs.org == 'Twitter Piko Stable' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-piko-stable
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-piko-stable
if: steps.check-gh-piko-stable.outputs.internet_error == '0'
run: bash src/build/Piko.sh latest
- name: Releasing APK files
id: release-piko-stable
if: steps.check-gh-piko-stable.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_twitter_piko_beta:
name: Patch Twitter Piko Beta
if: ${{ github.event.inputs.org == 'Twitter Piko Beta' || inputs.org == 'Twitter Piko Beta' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-piko-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-piko-beta
if: steps.check-gh-piko-beta.outputs.internet_error == '0'
run: bash src/build/Piko.sh prerelease
- name: Releasing APK files
id: release-piko-beta
if: steps.check-gh-piko-beta.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve67:
name: Patch RVX Android 6,7
if: ${{ github.event.inputs.org == 'Revanced Extended Android 6,7' || inputs.org == 'Revanced Extended Android 6,7' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rve67
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve67
if: steps.check-gh-rve67.outputs.internet_error == '0'
run: bash src/build/Revanced-Extended-Android-6-7.sh
- name: Releasing APK files
id: release-rve67
if: steps.check-gh-rve67.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_rve67_arghya339:
name: Patch RVX Android 6,7 arghya339
if: ${{ github.event.inputs.org == 'RVX Android-6,7 arghya339' || inputs.org == 'RVX Android-6,7 arghya339' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rve67-arghya339
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve67-arghya339
if: steps.check-gh-rve67-arghya339.outputs.internet_error == '0'
run: bash src/build/arghya339-Revanced-Extended-Android-6-7.sh
- name: Releasing APK files
id: release-rve67-arghya339
if: steps.check-gh-rve67-arghya339.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve67-arghya339.outcome == 'skipped' || steps.release-rve67-arghya339.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rve5:
name: Patch RVX Android 5
if: ${{ github.event.inputs.org == 'Revanced Extended Android 5' || inputs.org == 'Revanced Extended Android 5' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rve5
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve5
if: steps.check-gh-rve5.outputs.internet_error == '0'
run: bash src/build/Revanced-Extended-Android-5.sh
- name: Releasing APK files
id: release-rve5
if: steps.check-gh-rve5.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_BiliRoamingM:
name: Patch BiliRoamingM
if: ${{ github.event.inputs.org == 'BiliRoamingM' || inputs.org == 'BiliRoamingM' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-BiliRoamingM
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-BiliRoamingM
if: steps.check-gh-BiliRoamingM.outputs.internet_error == '0'
run: bash src/build/BiliRoamingM.sh
- name: Releasing APK files
id: release-BiliRoamingM
if: steps.check-gh-BiliRoamingM.outputs.internet_error == '0'
uses: ./.github/actions/release
patch_Dropped_Patches:
name: Dropped Patches Revanced - indrastorms
if: ${{ github.event.inputs.org == 'Dropped Patches - indrastorms' || inputs.org == 'Dropped Patches - indrastorms' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-Dropped-Patches-indrastorms
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-Dropped-Patches-indrastorms
if: steps.check-gh-Dropped-Patches-indrastorms.outputs.internet_error == '0'
run: bash src/build/Dropped-Patches-Revanced.sh
- name: Releasing APK files
id: release-Dropped-Patches-indrastorms
if: steps.check-gh-Dropped-Patches-indrastorms.outputs.internet_error == '0'
uses: ./.github/actions/release