From e074dd9f860bd7c51ca0f47b82c3fd91eb0bee9d Mon Sep 17 00:00:00 2001 From: zhongfly <11155705+zhongfly@users.noreply.github.com> Date: Mon, 14 Feb 2022 02:01:53 +0800 Subject: [PATCH] Use choice as workflow inputs (#224) --- .github/workflows/magisk.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index 5df5e68..7f471b9 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -9,13 +9,29 @@ on: required: true default: "stable" gapps_variant: - description: "Variants of gapps. Should be: [none, super, stock, full, mini, micro, nano, pico, tvstock, tvmini]" + description: "Variants of gapps." required: true default: "none" + type: choice + options: + - none + - super + - stock + - full + - mini + - micro + - nano + - pico + - tvstock + - tvmini root_sol: - description: "Root solution. Should be: [magisk, none]" + description: "Root solution." required: true default: "magisk" + type: choice + options: + - magisk + - none jobs: build: