change split arch, added rufusin, more anddea app

- Previous I use my forked cli in 582c94e90a
To make split file smaller. But now Revanced cli already fix problem in
https://github.com/ReVanced/revanced-library/issues/16
So I revert to old split arch for faster split
- Added more apps, rename little things...
This commit is contained in:
siritami
2024-04-15 13:08:23 +07:00
parent 9a27a4ef66
commit 7161b7691d
20 changed files with 261 additions and 164 deletions

View File

@@ -33,14 +33,18 @@ jobs:
id: check-rex
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh YT-Advanced/ReX-patches latest youtube-ReX.apk
- name: Check new patch ReX forked by anddea stable
id: check-rex-anddea-stable
- name: Check new patch Revanced Extended forked by Anddea Stable Version
id: check-rve-anddea-stable
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh anddea/revanced-patches latest youtube-stable-ReX-anddea.apk
- name: Check new patch ReX forked by anddea beta
id: check-rex-anddea-beta
run: bash src/etc/ci.sh anddea/revanced-patches latest youtube-stable-anddea.apk
- name: Check new patch Revanced Extended forked by Anddea Beta Version
id: check-rve-anddea-beta
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh anddea/revanced-patches prerelease youtube-beta-ReX-anddea.apk
run: bash src/etc/ci.sh anddea/revanced-patches prerelease youtube-beta-anddea.apk
- name: Check new patch Revanced Extended forked by Rufusin Stable Version
id: check-rve-rufusin
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh anddea/revanced-patches latest youtube-rufusin.apk
- name: Check new patch Revanced Extended
id: check-rve
if: steps.check-gh.outputs.internet_error == '0'
@@ -91,8 +95,9 @@ jobs:
check_rv: ${{ steps.check-rv.outputs.new_patch }}
check_rv_beta: ${{ steps.check-rv-beta.outputs.new_patch }}
check_rex: ${{ steps.check-rex.outputs.new_patch }}
check_rex_anddea_stable: ${{ steps.check-rex-anddea-stable.outputs.new_patch }}
check_rex_anddea_beta: ${{ steps.check-rex-anddea-beta.outputs.new_patch }}
check_rve_anddea_stable: ${{ steps.check-rve-anddea-stable.outputs.new_patch }}
check_rve_anddea_beta: ${{ steps.check-rve-anddea-beta.outputs.new_patch }}
check_rve_rufusin: ${{ steps.check-rve-rufusin.outputs.new_patch }}
check_rve: ${{ steps.check-rve.outputs.new_patch }}
check_twitter_piko_stable: ${{ steps.check-twitter-piko-stable.outputs.new_patch }}
check_twitter_piko_beta: ${{ steps.check-twitter-piko-beta.outputs.new_patch }}
@@ -120,20 +125,27 @@ jobs:
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX"
Patch-ReX-anddea-stable:
name: Patch ReX forked by anddea stable
Patch-RVE-anddea-stable:
name: Patch Revanced Extended forked by Anddea Stable Version
needs: check
if: ${{ needs.check.outputs.check_rex_anddea_stable == 1 }}
if: ${{ needs.check.outputs.check_rve_anddea_stable == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-anddea-stable"
Patch-ReX-anddea-beta:
name: Patch ReX forked by anddea beta
org: "RVE-anddea-stable"
Patch-RVE-anddea-beta:
name: Patch Revanced Extended forked by Anddea Beta Version
needs: check
if: ${{ needs.check.outputs.check_rex_anddea_beta == 1 }}
if: ${{ needs.check.outputs.check_rve_anddea_beta == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-anddea-beta"
org: "RVE-anddea-beta"
Patch-RVE-rufusin:
name: Patch Revanced Extended forked by Rufusin
needs: check
if: ${{ needs.check.outputs.check_rve_rufusin == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "RVE-rufusin"
Patch-Revanced-Extended:
name: Patch Revanced Extended
needs: check
@@ -168,4 +180,4 @@ jobs:
if: ${{ needs.check.outputs.check_rve5 == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "Revanced Extended Android 5"
org: "Revanced Extended Android 5"

View File

@@ -20,8 +20,9 @@ on:
- 'Revanced'
- 'Revanced Beta'
- 'ReX'
- 'Rex-anddea-stable'
- 'Rex-anddea-beta'
- 'RVE-anddea-stable'
- 'RVE-anddea-beta'
- 'RVE-rufusin'
- 'Revanced Extended'
- 'Twitter Piko Stable'
- 'Twitter Piko Beta'
@@ -38,7 +39,7 @@ on:
type: string
jobs:
patch_rv:
name: Patch Revanced
name: Patch Revanced Stable version
if: ${{ github.event.inputs.org == 'Revanced' || github.event.inputs.org == 'All' || inputs.org == 'Revanced' }}
runs-on: ubuntu-latest
strategy:
@@ -70,7 +71,7 @@ jobs:
if: always() && steps.patch-rv.outcome == 'skipped' || steps.release-rv.outcome == 'skipped' && env.retry_count < env.max_retries && matrix.Include.run == '1'
uses: ./.github/actions/re-run
patch_rv_beta:
name: Patch Revanced Beta
name: Patch Revanced Beta version
if: ${{ github.event.inputs.org == 'Revanced Beta' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Beta' }}
runs-on: ubuntu-latest
strategy:
@@ -124,9 +125,9 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex.outcome == 'skipped' || steps.release-rex.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rex_anddea_stable:
name: Patch ReX forked by anddea stable
if: ${{ github.event.inputs.org == 'ReX-anddea-stable' || github.event.inputs.org == 'All' || inputs.org == 'ReX-anddea-stable' }}
patch_rve_anddea_stable:
name: Patch Revanced Extended forked by Anddea Stable version
if: ${{ github.event.inputs.org == 'RVE-anddea-stable' || github.event.inputs.org == 'All' || inputs.org == 'RVE-anddea-stable' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -134,22 +135,22 @@ jobs:
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rex-anddea-stable
id: check-gh-rve-anddea-stable
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rex-anddea
if: steps.check-gh-rex-anddea-stable.outputs.internet_error == '0'
run: bash src/build/ReX-anddea.sh latest
id: patch-rve-anddea
if: steps.check-gh-rve-anddea-stable.outputs.internet_error == '0'
run: bash src/build/Anddea-Revanced-Extended.sh latest
- name: Releasing APK files
id: release-rex-anddea-stable
if: steps.check-gh-rex-anddea-stable.outputs.internet_error == '0'
id: release-rve-anddea-stable
if: steps.check-gh-rve-anddea-stable.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex-anddea-stable.outcome == 'skipped' || steps.release-rex-anddea-stable.outcome == 'skipped' && env.retry_count < env.max_retries
if: always() && steps.patch-rve-anddea-stable.outcome == 'skipped' || steps.release-rve-anddea-stable.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rex_anddea_beta:
name: Patch ReX forked by anddea beta
if: ${{ github.event.inputs.org == 'ReX-anddea-beta' || github.event.inputs.org == 'All' || inputs.org == 'ReX-anddea-beta' }}
patch_rve_anddea_beta:
name: Patch Revanced Extended forked by Anddea Beta version
if: ${{ github.event.inputs.org == 'RVE-anddea-beta' || github.event.inputs.org == 'All' || inputs.org == 'RVE-anddea-beta' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -157,19 +158,42 @@ jobs:
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rex-anddea-beta
id: check-gh-rve-anddea-beta
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rex-anddea-beta
if: steps.check-gh-rex-anddea-beta.outputs.internet_error == '0'
run: bash src/build/ReX-anddea.sh prerelease
id: patch-rve-anddea-beta
if: steps.check-gh-rve-anddea-beta.outputs.internet_error == '0'
run: bash src/build/Anddea-Revanced-Extended.sh prerelease
- name: Releasing APK files
id: release-rex-anddea-beta
if: steps.check-gh-rex-anddea-beta.outputs.internet_error == '0'
id: release-rve-anddea-beta
if: steps.check-gh-rve-anddea-beta.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex-anddea-beta.outcome == 'skipped' || steps.release-rex-anddea-beta.outcome == 'skipped' && env.retry_count < env.max_retries
if: always() && steps.patch-rve-anddea-beta.outcome == 'skipped' || steps.release-rve-anddea-beta.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rve_rufusin_stable:
name: Patch Revanced Extended forked by Rufusin Stable version
if: ${{ github.event.inputs.org == 'RVE-rufusin' || github.event.inputs.org == 'All' || inputs.org == 'RVE-rufusin' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rve-rufusin-stable
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rve-rufusin
if: steps.check-gh-rve-rufusin-stable.outputs.internet_error == '0'
run: bash src/build/Rufusin-Revanced-Extended.sh
- name: Releasing APK files
id: release-rve-rufusin-stable
if: steps.check-gh-rve-rufusin-stable.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve-rufusin-stable.outcome == 'skipped' || steps.release-rve-rufusin-stable.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rve:
name: Patch Revanced Extended
if: ${{ github.event.inputs.org == 'Revanced Extended' || github.event.inputs.org == 'All' || inputs.org == 'Revanced Extended' }}