added anddea beta, bump compatible piko patch
This commit is contained in:
siritami
2024-03-22 18:30:46 +07:00
parent 8bece43634
commit 4a4e5a2397
6 changed files with 93 additions and 79 deletions

View File

@@ -33,10 +33,14 @@ 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
id: check-rex-anddea
- name: Check new patch ReX forked by anddea stable
id: check-rex-anddea-stable
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh anddea/revanced-patches latest youtube-ReX-anddea.apk
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
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh anddea/revanced-patches latest youtube-beta-ReX-anddea.apk
- name: Check new patch Revanced Extended
id: check-rve
if: steps.check-gh.outputs.internet_error == '0'
@@ -44,11 +48,11 @@ jobs:
- name: Check new patch Twitter Piko Stable
id: check-twitter-piko-stable
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh crimera/piko latest twitter-piko-stable.apk
run: bash src/etc/ci.sh crimera/piko latest twitter-stable-piko.apk
- name: Check new patch Twitter Piko Beta
id: check-twitter-piko-beta
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh crimera/piko prerelease twitter-piko-beta.apk
run: bash src/etc/ci.sh crimera/piko prerelease twitter-beta-piko.apk
- name: Check new patch Revanced For Android 6 & 7
id: check-rve67
if: steps.check-gh.outputs.internet_error == '0'
@@ -87,7 +91,8 @@ 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: ${{ steps.check-rex-anddea.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: ${{ 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 }}
@@ -115,13 +120,20 @@ jobs:
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX"
Patch-ReX-anddea:
name: Patch ReX forked by anddea
Patch-ReX-anddea-stable:
name: Patch ReX forked by anddea stable
needs: check
if: ${{ needs.check.outputs.check_rex_anddea == 1 }}
if: ${{ needs.check.outputs.check_rex_anddea_stable == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-anddea"
org: "ReX-anddea-stable"
Patch-ReX-anddea-beta:
name: Patch ReX forked by anddea beta
needs: check
if: ${{ needs.check.outputs.check_rex_anddea_beta == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-anddea-beta"
Patch-Revanced-Extended:
name: Patch Revanced Extended
needs: check

View File

@@ -20,7 +20,8 @@ on:
- 'Revanced'
- 'Revanced Beta'
- 'ReX'
- 'Rex-anddea'
- 'Rex-anddea-stable'
- 'Rex-anddea-beta'
- 'Revanced Extended'
- 'Twitter Piko Stable'
- 'Twitter Piko Beta'
@@ -123,9 +124,9 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex.outcome == 'skipped' || steps.patch-rex.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rex_anddea:
name: Patch ReX forked by anddea
if: ${{ github.event.inputs.org == 'ReX-anddea' || github.event.inputs.org == 'All' || inputs.org == 'ReX-anddea' }}
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' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -133,18 +134,41 @@ jobs:
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
id: check-gh-rex-anddea
id: check-gh-rex-anddea-stable
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rex-anddea
if: steps.check-gh-rex-anddea.outputs.internet_error == '0'
run: bash src/build/ReX-anddea.sh
if: steps.check-gh-rex-anddea-stable.outputs.internet_error == '0'
run: bash src/build/ReX-anddea.sh latest
- name: Releasing APK files
id: release-rex-anddea
if: steps.check-gh-rex-anddea.outputs.internet_error == '0'
id: release-rex-anddea-stable
if: steps.check-gh-rex-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.outcome == 'skipped' || steps.release-rex-anddea.outcome == 'skipped' && env.retry_count < env.max_retries
if: always() && steps.patch-rex-anddea-stable.outcome == 'skipped' || steps.release-rex-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' }}
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-rex-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
- name: Releasing APK files
id: release-rex-anddea-beta
if: steps.check-gh-rex-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
uses: ./.github/actions/re-run
patch_rve:
name: Patch Revanced Extended