Patch image with Magisk #3
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
# 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 | |