added Twitter Pico

- Remove rufusin patch because pj merged with anddea
- Improve ci function
This commit is contained in:
siritami
2024-03-17 17:56:43 +07:00
parent e503ee663a
commit 36d760e17c
13 changed files with 124 additions and 105 deletions

View File

@@ -33,10 +33,6 @@ 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 rufusin
id: check-rex-rufusin
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh rufusin/revanced-patches latest youtube-ReX-rufusin.apk
- name: Check new patch ReX forked by anddea
id: check-rex-anddea
if: steps.check-gh.outputs.internet_error == '0'
@@ -45,6 +41,14 @@ jobs:
id: check-rve
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh inotia00/revanced-patches latest youtube-revanced-extended.apk
- 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
- 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
- name: Check new patch Revanced For Android 6 & 7
id: check-rve67
if: steps.check-gh.outputs.internet_error == '0'
@@ -83,9 +87,10 @@ 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_rufusin: ${{ steps.check-rex-rufusin.outputs.new_patch }}
check_rex_anddea: ${{ steps.check-rex-anddea.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 }}
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
@@ -110,13 +115,6 @@ jobs:
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX"
Patch-ReX-rufusin:
name: Patch ReX forked by rufusin
needs: check
if: ${{ needs.check.outputs.check_rex_rufusin == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "ReX-rufusin"
Patch-ReX-anddea:
name: Patch ReX forked by anddea
needs: check
@@ -131,6 +129,20 @@ jobs:
uses: ./.github/workflows/manual-patch.yml
with:
org: "Revanced Extended"
Patch-Twitter-Piko-Stable:
name: Patch Twitter Piko Stable
needs: check
if: ${{ needs.check.outputs.check_twitter_piko_stable == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "Twitter Piko Stable"
Patch-Twitter-Piko-Beta:
name: Patch Twitter Piko Beta
needs: check
if: ${{ needs.check.outputs.check_twitter_piko_beta == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "Twitter Piko Beta"
Patch-Revanced-Extended-For-Android-6-7:
name: Patch Revanced Extended For Android 6 & 7
needs: check
@@ -144,4 +156,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

@@ -9,7 +9,7 @@ on:
workflow_dispatch:
inputs:
org:
description: 'Which Revanced do you want to patch?'
description: 'Which "Revanced" do you want to patch?'
required: true
default: 'Revanced'
type: choice
@@ -18,9 +18,10 @@ on:
- 'Revanced'
- 'Revanced Beta'
- 'ReX'
- 'Rex-rufusin'
- 'Rex-anddea'
- 'Revanced Extended'
- 'Twitter Piko Stable'
- 'Twitter Piko Beta'
- 'Revanced Extended Android 6,7'
- 'Revanced Extended Android 5'
retry_count:
@@ -117,28 +118,6 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rex_rufusin:
name: Patch ReX forked by rufusin
if: ${{ github.event.inputs.org == 'ReX-rufusin' || github.event.inputs.org == 'All' || inputs.org == 'ReX-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-rex-rufusin
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-rex
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
run: bash src/build/ReX-rufusin.sh
- name: Releasing APK files
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rex-rufusin.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' }}
@@ -183,6 +162,50 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_twitter_piko_stable:
name: Patch Twitter Piko Stable
if: ${{ github.event.inputs.org == 'Twitter Piko Stable' || github.event.inputs.org == 'All' || inputs.org == 'Twitter Piko Stable' }}
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-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
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-piko-stable.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_twitter_piko_beta:
name: Patch Twitter Piko Beta
if: ${{ github.event.inputs.org == 'Twitter Piko Beta' || github.event.inputs.org == 'All' || inputs.org == 'Twitter Piko 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-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
if: steps.check-gh-rex-rufusin.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-piko-beta.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_rve67:
name: Patch 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' }}