mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
update workflow
Workflow will stop if github internet connection not stable
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -13,25 +13,35 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Check new patch ReVanced
|
||||
id: check-rv
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/etc/ci.sh ReVanced/revanced-patches latest youtube-revanced.apk
|
||||
- name: Check new patch ReVanced Beta
|
||||
id: check-rv-beta
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/etc/ci.sh ReVanced/revanced-patches prerelease youtube-beta-revanced.apk
|
||||
- name: Check new patch ReX
|
||||
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 Revanced Extended
|
||||
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 Revanced For Android 6 & 7
|
||||
id: check-rve67
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/etc/ci.sh kitadai31/revanced-patches-android6-7 latest youtube-revanced-extended-android-6-7.apk
|
||||
- name: Check new patch Revanced For Android 5
|
||||
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: Keep workflow run
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: gautamkrishnar/keepalive-workflow@v1
|
||||
outputs:
|
||||
check_rv: ${{ steps.check-rv.outputs.new_patch }}
|
||||
|
||||
36
.github/workflows/manual-patch.yml
vendored
36
.github/workflows/manual-patch.yml
vendored
@@ -38,13 +38,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-${{ matrix.Include.run }}.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rv_beta:
|
||||
name: Patch Revanced Beta
|
||||
@@ -53,13 +59,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-Beta.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rex:
|
||||
name: Patch ReX
|
||||
@@ -68,13 +80,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/ReX.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rve:
|
||||
name: Patch Revanced Extended
|
||||
@@ -83,13 +101,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-Extended.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rve67:
|
||||
name: Revanced Extended Android 6,7
|
||||
@@ -98,13 +122,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-Extended-Android-6-7.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
patch_rve5:
|
||||
name: Revanced Extended Android 5
|
||||
@@ -113,11 +143,17 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Check github connection
|
||||
id: check-gh
|
||||
run: bash src/etc/connection.sh
|
||||
- name: Preparing to patch
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/preparing
|
||||
- name: Patch apk
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
run: bash src/build/Revanced-Extended-Android-5.sh
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
- name: Releasing APK files
|
||||
if: steps.check-gh.outputs.internet_error == '0'
|
||||
uses: ./.github/actions/release
|
||||
Reference in New Issue
Block a user