Files
Revanced-And-Revanced-Exten…/.github/workflows/patch-revanced-extended.yml
yue374 64e91809d8 added Cloudflare Warp
Recently, APKMirror added a DDoS protection system that sometimes prevents the repository from downloading apk files. Therefore, I use Cloudflare warp to fix this.
2024-01-05 01:30:44 +07:00

43 lines
1.3 KiB
YAML

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: Setup Cloudflare Warp
run: bash src/etc/cf_warp.sh
- 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