mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Easier Manual Patch
Manual patch apps easier to choose and optimize workflow code. Read FAQ to know how to manual patch https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root/wiki/Frequently-Asked-Questions#q-how-do-i-use-this-repository-for-patching-my-own-app
This commit is contained in:
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@@ -1,4 +1,5 @@
|
||||
name: Check new patch
|
||||
permissions: write-all
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
@@ -6,7 +7,6 @@ on:
|
||||
jobs:
|
||||
check:
|
||||
name: Check new patch
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
@@ -33,28 +33,29 @@ jobs:
|
||||
|
||||
Patch-Revanced:
|
||||
name: Patch Revanced
|
||||
permissions: write-all
|
||||
needs: check
|
||||
uses: ./.github/workflows/patch-revanced.yml
|
||||
if: ${{ needs.check.outputs.check_rv == 1 }}
|
||||
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced"
|
||||
Patch-Revanced-Extended:
|
||||
name: Patch Revanced Extended
|
||||
permissions: write-all
|
||||
needs: check
|
||||
uses: ./.github/workflows/patch-revanced-extended.yml
|
||||
if: ${{ needs.check.outputs.check_rve == 1 }}
|
||||
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced Extended"
|
||||
Patch-Revanced-Extended-For-Android-6-7:
|
||||
name: Patch Revanced Extended For Android 6 & 7
|
||||
permissions: write-all
|
||||
needs: check
|
||||
uses: ./.github/workflows/patch-revanced-extended-android-6-7.yml
|
||||
if: ${{ needs.check.outputs.check_rve67 == 1 }}
|
||||
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced Extended Android 6,7"
|
||||
Patch-Revanced-Extended-For-Android-5:
|
||||
name: Patch Revanced Extended For Android 5
|
||||
permissions: write-all
|
||||
needs: check
|
||||
uses: ./.github/workflows/patch-revanced-extended-android-5.yml
|
||||
if: ${{ needs.check.outputs.check_rve5 == 1 }}
|
||||
uses: ./.github/workflows/manual-patch.yml
|
||||
with:
|
||||
org: "Revanced Extended Android 5"
|
||||
|
||||
91
.github/workflows/manual-patch.yml
vendored
Normal file
91
.github/workflows/manual-patch.yml
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
name: Manual Patch
|
||||
permissions: write-all
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
org:
|
||||
description: 'Which Revanced do you want to patch?'
|
||||
required: true
|
||||
default: 'Revanced'
|
||||
type: choice
|
||||
options:
|
||||
- 'All'
|
||||
- 'Revanced'
|
||||
- 'Revanced Extended'
|
||||
- 'Revanced Extended Android 6,7'
|
||||
- 'Revanced Extended Android 5'
|
||||
workflow_call:
|
||||
inputs:
|
||||
org:
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
patch_rv:
|
||||
name: Patch Revanced
|
||||
if: ${{ github.event.inputs.org == 'Revanced' || github.event.inputs.org == 'All' || inputs.org == 'Revanced' }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
Include:
|
||||
- org: "Revanced"
|
||||
run: "1"
|
||||
- org: "Revanced"
|
||||
run: "2"
|
||||
- org: "Revanced"
|
||||
run: "3"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-${{ matrix.Include.run }}.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
patch_rve:
|
||||
name: Patch Revanced Extended
|
||||
if: ${{ github.event.inputs.org == 'Revanced Extended' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
patch_rve67:
|
||||
name: Revanced Extended Android 6,7
|
||||
if: ${{ github.event.inputs.org == 'Revanced Extended Android 6,7' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 6,7' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-6-7.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
patch_rve5:
|
||||
name: Revanced Extended Android 5
|
||||
if: ${{ github.event.inputs.org == 'Revanced Extended Android 5' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended Android 5' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-5.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
@@ -1,20 +0,0 @@
|
||||
name: Patch Revanced Extended Android 5
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch:
|
||||
name: Patch Revanced Extended for Android 5
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-5.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
@@ -1,20 +0,0 @@
|
||||
name: Patch Revanced Extended Android 6 & 7
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch:
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-6-7.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
20
.github/workflows/patch-revanced-extended.yml
vendored
20
.github/workflows/patch-revanced-extended.yml
vendored
@@ -1,20 +0,0 @@
|
||||
name: Patch Revanced Extended
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch:
|
||||
name: Patch Revanced Extended
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-Extended.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
23
.github/workflows/patch-revanced.yml
vendored
23
.github/workflows/patch-revanced.yml
vendored
@@ -1,23 +0,0 @@
|
||||
name: Patch Revanced
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
Revanced:
|
||||
name: Patch Revanced-${{ matrix.Revanced }}
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
Revanced: [1, 2, 3]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Preparing to patch
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-${{ matrix.Revanced }}.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
uses: ./.github/actions/release
|
||||
Reference in New Issue
Block a user