More friendly

This commit is contained in:
LoveSy 2021-10-26 19:43:23 +08:00
parent b3d259f08d
commit ab82646e1a

View File

@ -1,11 +1,14 @@
name: Magisk
on:
push:
pull_request:
workflow_dispatch:
inputs:
magisk_apk:
description: 'Download link to magisk apk.'
required: true
default: 'https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk'
jobs:
build:
@ -68,6 +71,9 @@ jobs:
magisk_apk = """${{ github.event.inputs.magisk_apk }}"""
if not magisk_apk:
magisk_apk = """https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk"""
out_file = "magisk.zip"
arch = "${{ matrix.arch }}"