mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
added Tasker, Novalauncher
Because the patching time of revanced.sh is too long, I split it into 3 .sh files and ran them with 3 more runners to speed up the patching time.
This commit is contained in:
118
.github/workflows/patch.yml
vendored
118
.github/workflows/patch.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
patch1:
|
||||
name: Patch Revanced
|
||||
name: Patch Revanced-1
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
java-version: '17'
|
||||
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced.sh
|
||||
run: bash src/build/Revanced-1.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
|
||||
@@ -61,6 +61,116 @@ jobs:
|
||||
keep_minimum_runs: 10
|
||||
|
||||
patch2:
|
||||
name: Patch Revanced-2
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up jdk
|
||||
uses: actions/setup-java@v3.11.0
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-2.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
|
||||
- name: Generate release info
|
||||
run: |
|
||||
echo "
|
||||
**Change log** :point_down:
|
||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
./build/*
|
||||
revanced-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete older releases
|
||||
uses: dev-drprasad/delete-older-releases@v0.2.1
|
||||
with:
|
||||
keep_latest: 1
|
||||
delete_tags: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 0
|
||||
keep_minimum_runs: 10
|
||||
|
||||
patch3:
|
||||
name: Patch Revanced-3
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up jdk
|
||||
uses: actions/setup-java@v3.11.0
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '17'
|
||||
|
||||
- name: Patch apk
|
||||
run: bash src/build/Revanced-3.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
|
||||
- name: Generate release info
|
||||
run: |
|
||||
echo "
|
||||
**Change log** :point_down:
|
||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
with:
|
||||
files: |
|
||||
./build/*
|
||||
revanced-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete older releases
|
||||
uses: dev-drprasad/delete-older-releases@v0.2.1
|
||||
with:
|
||||
keep_latest: 1
|
||||
delete_tags: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 0
|
||||
keep_minimum_runs: 10
|
||||
|
||||
patch4:
|
||||
name: Patch Revanced Extended
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
@@ -99,7 +209,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
patch3:
|
||||
patch5:
|
||||
name: Patch ReX
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
@@ -154,7 +264,7 @@ jobs:
|
||||
retain_days: 0
|
||||
keep_minimum_runs: 15
|
||||
|
||||
patch4:
|
||||
patch6:
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user