mirror of
https://github.com/FiorenMas/Revanced-And-Revanced-Extended-Non-Root.git
synced 2025-12-06 08:07:40 +00:00
Change method check new patch
- No longer need .txt file - Easier manual patch - Special thanks to Aisrsa for nice idea
This commit is contained in:
16
.github/workflows/Sync-Fork.yaml
vendored
16
.github/workflows/Sync-Fork.yaml
vendored
@@ -1,16 +0,0 @@
|
||||
name: Automatic Sync fork
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: '0 0 */15 * *'
|
||||
workflow_dispatch: { }
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- run: gh repo sync $REPOSITORY -b $BRANCH_NAME
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
BRANCH_NAME: ${{ github.ref_name }}
|
||||
77
.github/workflows/ci.yml
vendored
Normal file
77
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
name: Check new patch
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 21 * * *"
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
check-rv:
|
||||
name: Check new patch Revanced
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Check new patch ReVanced
|
||||
id: check-rv
|
||||
run: bash src/build/ci.sh ReVanced/revanced-patches youtube-revanced.apk
|
||||
env:
|
||||
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
|
||||
id: check-rve
|
||||
run: bash src/build/ci.sh inotia00/revanced-patches youtube-revanced-extended.apk
|
||||
env:
|
||||
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
|
||||
id: check-rve67
|
||||
run: bash src/build/ci.sh kitadai31/revanced-patches-android6-7 youtube-revanced-extended-android-6-7.apk
|
||||
env:
|
||||
repository: ${{ github.repository }}
|
||||
|
||||
outputs:
|
||||
check_rve67: ${{ steps.check-rve67.outputs.new_patch }}
|
||||
|
||||
Patch-Revanced:
|
||||
name: Patch Revanced
|
||||
permissions: write-all
|
||||
needs: check-rv
|
||||
uses: ./.github/workflows/patch-revanced.yml
|
||||
if: ${{ needs.check-rv.outputs.check_rv == 1 }}
|
||||
secrets: inherit
|
||||
|
||||
Patch-Revanced-Extended:
|
||||
name: Patch Revanced Extended
|
||||
permissions: write-all
|
||||
needs: check-rve
|
||||
uses: ./.github/workflows/patch-revanced-extended.yml
|
||||
if: ${{ needs.check-rve.outputs.check_rve == 1 }}
|
||||
secrets: inherit
|
||||
|
||||
Patch-Revanced-For-Android-6-7:
|
||||
name: Patch Revanced Extended For Android 6 & 7
|
||||
permissions: write-all
|
||||
needs: check-rve67
|
||||
uses: ./.github/workflows/patch-revanced-extended-android-6-7.yml
|
||||
if: ${{ needs.check-rve67.outputs.check_rve67 == 1 }}
|
||||
secrets: inherit
|
||||
40
.github/workflows/patch-revanced-extended-android-6-7.yml
vendored
Normal file
40
.github/workflows/patch-revanced-extended-android-6-7.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Patch Revanced Extended Android 6 & 7
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch:
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
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: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-6-7.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
|
||||
40
.github/workflows/patch-revanced-extended.yml
vendored
Normal file
40
.github/workflows/patch-revanced-extended.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Patch Revanced Extended
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch:
|
||||
name: Patch Revanced Extended
|
||||
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: Patch apk
|
||||
run: bash src/build/Revanced-Extended.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
|
||||
@@ -1,9 +1,7 @@
|
||||
name: Patch
|
||||
name: Patch Revanced
|
||||
on:
|
||||
# push:
|
||||
schedule:
|
||||
- cron: "0 21 * * *"
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
jobs:
|
||||
patch1:
|
||||
name: Patch Revanced-1
|
||||
@@ -37,12 +35,9 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
./release/*
|
||||
revanced-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
patch2:
|
||||
name: Patch Revanced-2
|
||||
@@ -76,12 +71,9 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
./release/*
|
||||
revanced-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
patch3:
|
||||
name: Patch Revanced-3
|
||||
@@ -115,87 +107,6 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
./release/*
|
||||
revanced-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
patch4:
|
||||
name: Patch Revanced Extended
|
||||
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: Patch apk
|
||||
run: bash src/build/Revanced-Extended.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/*
|
||||
revanced-extended-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
patch5:
|
||||
name: Patch Revanced Extended for Android 6 & 7
|
||||
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: Patch apk
|
||||
run: bash src/build/Revanced-Extended-Android-6-7.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/*
|
||||
revanced-extended-android-6-7-version.txt
|
||||
name: Revanced & Revanced Extended
|
||||
tag_name: all
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||
Reference in New Issue
Block a user