-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (45 loc) · 1.47 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build Modules
on:
workflow_dispatch:
jobs:
run:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- name: Checkout du code
uses: actions/checkout@v4
- name: Grant execute permission for fetch_link.sh
run: chmod +x ./fetch_link.sh
- name: Fetch link
run: |
sudo wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip
sudo unzip pup_v0.4.0_linux_amd64.zip -d /usr/local/bin
./fetch_link.sh google-inc youtube 19.15.36 False universal
ls
- name: Exécuter le script Bash
run: |
java -jar revanced-cli-all.jar -h
- name: generate-patches
run: |
java -jar revanced-cli-all.jar options --path options.json --overwrite revanced-patches.jar
- name: Build revanced
run: |
java -jar revanced-cli-all.jar patch \
-d device-name \
-b revanced-patches.jar \
-m revanced-integrations.apk \
--options options.json \
-p \
-e "GmsCore support" \
--mount \
-o revanced-extended.apk \
youtube-19.15.36.apk
- name: Upload APK as artifact
uses: actions/upload-artifact@v3
with:
name: revanced-extended-apk
path: revanced-extended.apk