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" using: "composite"
steps: steps:
- name: Set up jdk - name: Set up jdk
uses: actions/setup-java@v4.0.0 uses: actions/setup-java@v4.5.0
with: with:
distribution: 'zulu' distribution: 'zulu'
java-version: '17' java-version: '17'

View File

@@ -65,9 +65,6 @@ jobs:
id: check-rve5 id: check-rve5
if: steps.check-gh.outputs.internet_error == '0' 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 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 run: bash src/etc/ci.sh BiliRoamingX/BiliRoamingX latest bilibili-BiliRoamingX.apk
- name: Keep workflow run - name: Keep workflow run
if: steps.check-gh.outputs.internet_error == '0' if: steps.check-gh.outputs.internet_error == '0'
@@ -186,10 +183,3 @@ jobs:
uses: ./.github/workflows/manual-patch.yml uses: ./.github/workflows/manual-patch.yml
with: with:
org: "Revanced Extended Android 5" 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"

View File

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

View File

@@ -287,14 +287,6 @@ Download
--- ---
### [Bilbili: (Chinese only)](https://play.google.com/store/apps/details?id=com.bilibili.app.in)
### [BiliRoamingX:](https://github.com/BiliRoamingX/BiliRoamingX)
[All Architectures](../../releases/download/all/bilibili-BiliRoamingX.apk )
---
### [Nova Launcher:](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher) ### [Nova Launcher:](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher)
### [Dropped Patches by indrastorms:](https://github.com/indrastorms/Dropped-Patches) ### [Dropped Patches by indrastorms:](https://github.com/indrastorms/Dropped-Patches)
@@ -387,35 +379,6 @@ Download
</details> </details>
</details>
<details>
<summary>YT-Advanced</summary>
[Patches](https://github.com/YT-Advanced/ReX-patches) - [GPL-3.0](https://github.com/YT-Advanced/ReX-patches/blob/master/LICENSE)
[Integrations](https://github.com/YT-Advanced/ReX-integrations) - [GPL-3.0](https://github.com/YT-Advanced/ReX-integrations/blob/main/LICENSE)
</details>
<details>
<summary>rufusin</summary>
[Patches](https://github.com/rufusin/revanced-patches) - [GPL-3.0](https://github.com/rufusin/revanced-patches/blob/main/LICENSE)
[Integrations](https://github.com/rufusin/revanced-integrations) - [GPL-3.0](https://github.com/rufusin/revanced-integrations/blob/main/LICENSE)
</details>
<details>
<summary>BiliRoamingX</summary>
[Patches, Integrations](https://github.com/BiliRoamingX/BiliRoamingX) - [GPL-3.0](https://github.com/BiliRoamingX/BiliRoamingX/blob/main/LICENSE)
</details>
</details>
<details> <details>
<summary>indrastorms</summary> <summary>indrastorms</summary>

View File

@@ -1,16 +0,0 @@
#!/bin/bash
# BiliRoamingX build for chinese only
source ./src/build/utils.sh
#################################################
# Download requirements
dl_gh "revanced-cli" "revanced" "latest"
dl_gh "BiliRoamingX" "BiliRoamingX" "latest"
#################################################
# Patch bilibili:
get_patches_key "bilibili-BiliRoamingX"
get_apk "com.bilibili.app.in" "bilibili" "bilibili" "bilibili/bilibili/bilibili"
patch "bilibili" "BiliRoamingX"

View File

@@ -4,7 +4,7 @@ source src/build/utils.sh
# Patch Twitter Piko: # Patch Twitter Piko:
patch_piko () { patch_piko () {
dl_gh "revanced-cli" "revanced" "latest" dl_gh "revanced-cli" "revanced" "v4.6.0"
get_patches_key "twitter-piko" get_patches_key "twitter-piko"
local v apk_name local v apk_name
if [[ "$1" == "latest" ]]; then if [[ "$1" == "latest" ]]; then

View File

@@ -19,7 +19,7 @@ get_date() {
checker(){ checker(){
local date1 date2 date1_sec date1_sec repo=$1 ur_repo=$repository check=$3 local date1 date2 date1_sec date1_sec repo=$1 ur_repo=$repository check=$3
date1=$(get_date "$repo" "$2" "^.*\\\.jar$") date1=$(get_date "$repo" "$2" "^(.*\\\.jar|.*\\\.rvp)$")
date2=$(get_date "$ur_repo" "all" "$check") date2=$(get_date "$ur_repo" "all" "$check")
date1_sec=$(date -d "$date1" +%s) date1_sec=$(date -d "$date1" +%s)
date2_sec=$(date -d "$date2" +%s) date2_sec=$(date -d "$date2" +%s)

View File

@@ -1 +0,0 @@
[]