remove bilibili

Because it closed source, can't self patch anymore
Update workflow
Change CI to detect new patch file format (.rvp)
This commit is contained in:
Fioren
2024-10-30 01:54:54 +07:00
parent 826dfd2000
commit 12ba4a6271
10 changed files with 17 additions and 105 deletions

View File

@@ -3,7 +3,7 @@ runs:
using: "composite"
steps:
- name: Set up jdk
uses: actions/setup-java@v4.0.0
uses: actions/setup-java@v4.5.0
with:
distribution: 'zulu'
java-version: '17'

View File

@@ -65,9 +65,6 @@ jobs:
id: check-rve5
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh d4n3436/revanced-patches-android5 latest youtube-revanced-extended-android-5.apk
- name: Check new patch BiliRoamingX
id: check-BiliRoamingX
if: steps.check-gh.outputs.internet_error == '0'
run: bash src/etc/ci.sh BiliRoamingX/BiliRoamingX latest bilibili-BiliRoamingX.apk
- name: Keep workflow run
if: steps.check-gh.outputs.internet_error == '0'
@@ -185,11 +182,4 @@ jobs:
if: ${{ needs.check.outputs.check_rve5 == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "Revanced Extended Android 5"
Patch-BiliRoamingX:
name: Patch BiliRoamingX
needs: check
if: ${{ needs.check.outputs.check_BiliRoamingX == 1 }}
uses: ./.github/workflows/manual-patch.yml
with:
org: "BiliRoamingX"
org: "Revanced Extended Android 5"

View File

@@ -27,7 +27,6 @@ on:
- 'Twitter Piko Beta'
- 'Revanced Extended Android 6,7'
- 'Revanced Extended Android 5'
- 'BiliRoamingX'
- 'Dropped Patches - indrastorms'
retry_count:
description: 'Do not change value below'
@@ -48,7 +47,7 @@ jobs:
run: [1, 2, 3, 4, 5, 6, 7, 8, 9]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -74,7 +73,7 @@ jobs:
run: [1, 2, 3, 4, 5, 6, 7, 8, 9]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -100,7 +99,7 @@ jobs:
run: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -126,7 +125,7 @@ jobs:
run: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -152,7 +151,7 @@ jobs:
run: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -178,7 +177,7 @@ jobs:
run: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -201,7 +200,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -224,7 +223,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -247,7 +246,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -270,7 +269,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -293,7 +292,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection
@@ -310,36 +309,13 @@ jobs:
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-rve5.outcome == 'skipped' || steps.release-rve5.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_BiliRoamingX:
name: Patch BiliRoamingX
if: ${{ github.event.inputs.org == 'BiliRoamingX' || inputs.org == 'BiliRoamingX' }}
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-BiliRoamingX
run: bash src/etc/connection.sh
- name: Patch apk
id: patch-BiliRoamingX
if: steps.check-gh-BiliRoamingX.outputs.internet_error == '0'
run: bash src/build/BiliRoamingX.sh
- name: Releasing APK files
id: release-BiliRoamingX
if: steps.check-gh-BiliRoamingX.outputs.internet_error == '0'
uses: ./.github/actions/release
- name: Re-run workflow if github connection not stable
if: always() && steps.patch-BiliRoamingX.outcome == 'skipped' || steps.release-BiliRoamingX.outcome == 'skipped' && env.retry_count < env.max_retries
uses: ./.github/actions/re-run
patch_Dropped_Patches:
name: Dropped Patches Revanced - indrastorms
if: ${{ github.event.inputs.org == 'Dropped Patches - indrastorms' || inputs.org == 'Dropped Patches - indrastorms' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Preparing to patch
uses: ./.github/actions/preparing
- name: Check github connection