-
Notifications
You must be signed in to change notification settings - Fork 187
53 lines (45 loc) · 1.39 KB
/
patch.yml
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
49
50
51
52
53
name: miuivs_patch_build
on:
workflow_dispatch:
inputs:
F:
description: 'Framework.jar Url'
required: true
default: ''
S:
description: 'Services.jar Url'
required: true
default: ''
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setting up
run: |
sudo apt-get install -y git wget zip unzip axel python3-pip zipalign apksigner xmlstarlet
pip3 install ConfigObj
- name: Set up Time
run: |
cd $GITHUB_WORKSPACE
echo "Setting Vienam timezone"
sudo timedatectl set-timezone Asia/Ho_Chi_Minh
- name: Download Framework.jar
run: |
axel -n $(nproc) ${{ github.event.inputs.F }}
- name: Download Services.jar
run: |
axel -n $(nproc) ${{ github.event.inputs.S }}
- name : PATCH-ING
run: |
sudo chmod 777 -R *
./bhlnk.sh
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: android14_patched_bhlnk.zip
# A file, directory or wildcard pattern that describes what to upload
path: ./module/*
# The desired behavior if no files are found using the provided path.