Update magisk.yml

This commit is contained in:
LoveSy 2022-02-14 02:15:31 +08:00 committed by GitHub
parent d242f57139
commit 465544ba4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,19 @@ on:
workflow_dispatch:
inputs:
magisk_apk:
description: "Magisk version. Should be stable, beta, canary or a download link to Magisk apk."
description: "Magisk version"
required: true
default: "stable"
type: choice
options:
- stable
- beta
- canary
- customize
magisk_link:
description: "Download link to Magisk's apk if you are choosing customize above."
gapps_variant:
description: "Variants of gapps."
description: "Variants of gapps"
required: true
default: "none"
type: choice
@ -25,7 +33,7 @@ on:
- tvstock
- tvmini
root_sol:
description: "Root solution."
description: "Root solution"
required: true
default: "magisk"
type: choice
@ -130,6 +138,8 @@ jobs:
magisk_apk = """${{ github.event.inputs.magisk_apk }}"""
if magisk_apk == "customize":
maigks_apk = """${{ github.event.inputs.magisk_link }}"""
if not magisk_apk:
magisk_apk = "stable"
if magisk_apk == "stable" or magisk_apk == "beta" or magisk_apk == "canary":