-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (29 loc) · 958 Bytes
/
magisk_root.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
# This is a basic workflow to help you get started with Actions
name: Patch image with Magisk
# Controls when the workflow will run
on:
workflow_run:
workflows: ['Compile Kernel from Source']
types:
- completed
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Download kernel images
uses: actions/[email protected]
with:
name: 'Compile Kernel from Source'
- name: Download Magisk repo
run: |
git clone https://github.com/topjohnwu/Magisk
- name: Unzip folder
run: |
unzip the-images.zip
- name: Run magisk script
run: |
chmod +x Magisk/
sh Magisk/scripts/boot_patch.sh to-upload/boot.img