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