forked from buihien224/Android-14-Remove-APK-Protection
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (38 loc) · 1.21 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
name: miuivs_patch_build
on:
workflow_dispatch:
inputs:
ROM_URL:
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 Services.jar
run: |
axel -n $(nproc) ${{ github.event.inputs.ROM_URL }}
- name : PATCH-ING
run: |
sudo chmod 777 -R *
./bhlnk.sh
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.1
with:
# Artifact name
name: services_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.