-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dda02b7
commit 0f619f7
Showing
3 changed files
with
51 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
name: miuivs_patch_build | ||
name: vsteam_framework_patch | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
F: | ||
description: 'framework.jar Url' | ||
required: true | ||
default: '' | ||
S: | ||
description: 'services.jar Url' | ||
required: true | ||
default: '' | ||
jobs: | ||
build: | ||
|
@@ -32,20 +30,25 @@ jobs: | |
- name: Download Framework and Services dir | ||
run: | | ||
axel -n $(nproc) ${{ github.event.inputs.F }} | ||
axel -n $(nproc) ${{ github.event.inputs.S }} | ||
mkdir img_temp | ||
- name : PATCH-ING | ||
[[ "${{ github.event.inputs.F }}" ]] && axel -n $(nproc) ${{ github.event.inputs.F }} -o img_temp/ | ||
[[ "${{ github.event.inputs.S }}" ]] && axel -n $(nproc) ${{ github.event.inputs.S }} -o img_temp/ | ||
if [[ -z "${{ github.event.inputs.F }}" && -z "${{ github.event.inputs.S }}" ]]; then | ||
exit 1 | ||
fi | ||
- name : Proccesing | ||
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 | ||
name: framework_U_patch_${{ github.actor }}.zip | ||
path: ./module/* | ||
# The desired behavior if no files are found using the provided path. | ||
|
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
Binary file not shown.