vsteam_framework_patch #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |