mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Improve workflow
This commit is contained in:
12
.github/actions/preparing/action.yml
vendored
Normal file
12
.github/actions/preparing/action.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: Preparing to patch
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Set up jdk
|
||||||
|
uses: actions/setup-java@v4.0.0
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
- name: Setup Cloudflare Warp
|
||||||
|
shell: bash
|
||||||
|
run: bash src/etc/cf_warp.sh
|
||||||
21
.github/actions/release/action.yml
vendored
Normal file
21
.github/actions/release/action.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Releasing APK files
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Generate release info
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "
|
||||||
|
**Change log** :point_down:
|
||||||
|
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
||||||
|
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
||||||
|
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
||||||
|
"> ${{ github.workspace }}-CHANGELOG.txt
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
./release/*
|
||||||
|
name: Revanced & Revanced Extended
|
||||||
|
tag_name: all
|
||||||
|
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||||
4
.github/workflows/Fix-Readme.yml
vendored
4
.github/workflows/Fix-Readme.yml
vendored
@@ -6,12 +6,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Edit Readme
|
- name: Edit Readme
|
||||||
run: |
|
run: |
|
||||||
curl -o README.md https://raw.githubusercontent.com/${{ github.repository }}/main/README.md
|
curl -o README.md https://raw.githubusercontent.com/${{ github.repository }}/main/README.md
|
||||||
sed -i "s#FiorenMas/Revanced-And-Revanced-Extended-Non-Root#${{ github.repository }}#g" README.md
|
sed -i "s#FiorenMas/Revanced-And-Revanced-Extended-Non-Root#${{ github.repository }}#g" README.md
|
||||||
|
|
||||||
- name: Commit Readme
|
- name: Commit Readme
|
||||||
uses: EndBug/add-and-commit@v9.1.1
|
uses: EndBug/add-and-commit@v9.1.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
61
.github/workflows/ci.yml
vendored
61
.github/workflows/ci.yml
vendored
@@ -4,94 +4,63 @@ on:
|
|||||||
- cron: "0 */6 * * *"
|
- cron: "0 */6 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
check-rv:
|
check:
|
||||||
name: Check new patch Revanced
|
name: Check new patch
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Check new patch ReVanced
|
- name: Check new patch ReVanced
|
||||||
id: check-rv
|
id: check-rv
|
||||||
run: bash src/etc/ci.sh ReVanced/revanced-patches youtube-revanced.apk
|
run: bash src/etc/ci.sh ReVanced/revanced-patches youtube-revanced.apk
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|
||||||
outputs:
|
|
||||||
check_rv: ${{ steps.check-rv.outputs.new_patch }}
|
|
||||||
|
|
||||||
check-rve:
|
|
||||||
name: Check new patch Revanced Extended
|
|
||||||
permissions: write-all
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Check new patch Revanced Extended
|
- name: Check new patch Revanced Extended
|
||||||
id: check-rve
|
id: check-rve
|
||||||
run: bash src/etc/ci.sh inotia00/revanced-patches youtube-revanced-extended.apk
|
run: bash src/etc/ci.sh inotia00/revanced-patches youtube-revanced-extended.apk
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|
||||||
outputs:
|
|
||||||
check_rve: ${{ steps.check-rve.outputs.new_patch }}
|
|
||||||
|
|
||||||
check-rve67:
|
|
||||||
name: Check new patch Revanced For Android 6 & 7
|
|
||||||
permissions: write-all
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Check new patch Revanced For Android 6 & 7
|
- name: Check new patch Revanced For Android 6 & 7
|
||||||
id: check-rve67
|
id: check-rve67
|
||||||
run: bash src/etc/ci.sh kitadai31/revanced-patches-android6-7 youtube-revanced-extended-android-6-7.apk
|
run: bash src/etc/ci.sh kitadai31/revanced-patches-android6-7 youtube-revanced-extended-android-6-7.apk
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|
||||||
outputs:
|
|
||||||
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
|
||||||
|
|
||||||
check-rve5:
|
|
||||||
name: Check new patch Revanced For Android 5
|
|
||||||
permissions: write-all
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Check new patch Revanced For Android 5
|
- name: Check new patch Revanced For Android 5
|
||||||
id: check-rve5
|
id: check-rve5
|
||||||
run: bash src/etc/ci.sh d4n3436/revanced-patches-android5 youtube-revanced-extended-android-5.apk
|
run: bash src/etc/ci.sh d4n3436/revanced-patches-android5 youtube-revanced-extended-android-5.apk
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
|
check_rv: ${{ steps.check-rv.outputs.new_patch }}
|
||||||
|
check_rve: ${{ steps.check-rve.outputs.new_patch }}
|
||||||
|
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
||||||
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
|
check_rve5: ${{ steps.check-rve5.outputs.new_patch }}
|
||||||
|
|
||||||
Patch-Revanced:
|
Patch-Revanced:
|
||||||
name: Patch Revanced
|
name: Patch Revanced
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: check-rv
|
needs: check
|
||||||
uses: ./.github/workflows/patch-revanced.yml
|
uses: ./.github/workflows/patch-revanced.yml
|
||||||
if: ${{ needs.check-rv.outputs.check_rv == 1 }}
|
if: ${{ needs.check.outputs.check_rv == 1 }}
|
||||||
|
|
||||||
Patch-Revanced-Extended:
|
Patch-Revanced-Extended:
|
||||||
name: Patch Revanced Extended
|
name: Patch Revanced Extended
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: check-rve
|
needs: check
|
||||||
uses: ./.github/workflows/patch-revanced-extended.yml
|
uses: ./.github/workflows/patch-revanced-extended.yml
|
||||||
if: ${{ needs.check-rve.outputs.check_rve == 1 }}
|
if: ${{ needs.check.outputs.check_rve == 1 }}
|
||||||
|
|
||||||
Patch-Revanced-Extended-For-Android-6-7:
|
Patch-Revanced-Extended-For-Android-6-7:
|
||||||
name: Patch Revanced Extended For Android 6 & 7
|
name: Patch Revanced Extended For Android 6 & 7
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: check-rve67
|
needs: check
|
||||||
uses: ./.github/workflows/patch-revanced-extended-android-6-7.yml
|
uses: ./.github/workflows/patch-revanced-extended-android-6-7.yml
|
||||||
if: ${{ needs.check-rve67.outputs.check_rve67 == 1 }}
|
if: ${{ needs.check.outputs.check_rve67 == 1 }}
|
||||||
|
|
||||||
Patch-Revanced-Extended-For-Android-5:
|
Patch-Revanced-Extended-For-Android-5:
|
||||||
name: Patch Revanced Extended For Android 5
|
name: Patch Revanced Extended For Android 5
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: check-rve5
|
needs: check
|
||||||
uses: ./.github/workflows/patch-revanced-extended-android-5.yml
|
uses: ./.github/workflows/patch-revanced-extended-android-5.yml
|
||||||
if: ${{ needs.check-rve5.outputs.check_rve5 == 1 }}
|
if: ${{ needs.check.outputs.check_rve5 == 1 }}
|
||||||
|
|||||||
@@ -8,36 +8,13 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Set up jdk
|
- name: Preparing to patch
|
||||||
uses: actions/setup-java@v3.11.0
|
uses: ./.github/actions/preparing
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
- name: Patch apk
|
||||||
run: bash src/build/Revanced-Extended-Android-5.sh
|
run: bash src/build/Revanced-Extended-Android-5.sh
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
- name: Releasing APK files
|
||||||
- name: Generate release info
|
uses: ./.github/actions/release
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
@@ -8,36 +8,13 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Set up jdk
|
- name: Preparing to patch
|
||||||
uses: actions/setup-java@v3.11.0
|
uses: ./.github/actions/preparing
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
- name: Patch apk
|
||||||
run: bash src/build/Revanced-Extended-Android-6-7.sh
|
run: bash src/build/Revanced-Extended-Android-6-7.sh
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
- name: Releasing APK files
|
||||||
- name: Generate release info
|
uses: ./.github/actions/release
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
35
.github/workflows/patch-revanced-extended.yml
vendored
35
.github/workflows/patch-revanced-extended.yml
vendored
@@ -8,36 +8,13 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Set up jdk
|
- name: Preparing to patch
|
||||||
uses: actions/setup-java@v3.11.0
|
uses: ./.github/actions/preparing
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
- name: Patch apk
|
||||||
run: bash src/build/Revanced-Extended.sh
|
run: bash src/build/Revanced-Extended.sh
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
- name: Releasing APK files
|
||||||
- name: Generate release info
|
uses: ./.github/actions/release
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
122
.github/workflows/patch-revanced.yml
vendored
122
.github/workflows/patch-revanced.yml
vendored
@@ -3,119 +3,21 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
jobs:
|
jobs:
|
||||||
patch1:
|
Revanced:
|
||||||
name: Patch Revanced-1
|
name: Patch Revanced-${{ matrix.Revanced }}
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Revanced: [1, 2, 3]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.1.1
|
||||||
- name: Set up jdk
|
- name: Preparing to patch
|
||||||
uses: actions/setup-java@v3.11.0
|
uses: ./.github/actions/preparing
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
- name: Patch apk
|
||||||
run: bash src/build/Revanced-1.sh
|
run: bash src/build/Revanced-${{ matrix.Revanced }}.sh
|
||||||
env:
|
env:
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
- name: Releasing APK files
|
||||||
- name: Generate release info
|
uses: ./.github/actions/release
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
patch2:
|
|
||||||
name: Patch Revanced-2
|
|
||||||
permissions: write-all
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up jdk
|
|
||||||
uses: actions/setup-java@v3.11.0
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
|
||||||
run: bash src/build/Revanced-2.sh
|
|
||||||
env:
|
|
||||||
repository: ${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Generate release info
|
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
patch3:
|
|
||||||
name: Patch Revanced-3
|
|
||||||
permissions: write-all
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up jdk
|
|
||||||
uses: actions/setup-java@v3.11.0
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
- name: Setup Cloudflare Warp
|
|
||||||
run: bash src/etc/cf_warp.sh
|
|
||||||
|
|
||||||
- name: Patch apk
|
|
||||||
run: bash src/build/Revanced-3.sh
|
|
||||||
env:
|
|
||||||
repository: ${{ github.repository }}
|
|
||||||
|
|
||||||
- name: Generate release info
|
|
||||||
run: |
|
|
||||||
echo "
|
|
||||||
**Change log** :point_down:
|
|
||||||
[Revanced](https://github.com/revanced/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended](https://github.com/inotia00/revanced-patches/releases/latest)
|
|
||||||
[Revanced Extended for Android 6 & 7](https://github.com/kitadai31/revanced-patches-android6-7/releases/latest)
|
|
||||||
"> ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
./release/*
|
|
||||||
name: Revanced & Revanced Extended
|
|
||||||
tag_name: all
|
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
|
||||||
|
|||||||
Reference in New Issue
Block a user