From 548bb674bd2c0ff1b4f0ee82222c3a082c636312 Mon Sep 17 00:00:00 2001 From: Peter Njeim Date: Sun, 4 Sep 2022 18:41:28 -0300 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 14d9f74..5f9ab16 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,8 +43,8 @@ on: type: choice options: - None - - Pico (OpenGApps) - - Full (OpenGApps) + - Pico + - Full - Custom (OpenGApps) - Custom (MindTheGapps) gapps_url: @@ -79,7 +79,7 @@ jobs: DOWNLOAD_DIR=../download DOWNLOAD_CONF_NAME=download.list - declare -A opts=( ["ARCH,x86_64"]="x64" ["ARCH,ARM64"]="arm64" ["RELEASE_TYPE,General Availability Channel"]="retail" ["RELEASE_TYPE,Release Preview Channel"]="RP" ["RELEASE_TYPE,Beta Channel"]="WIS" ["RELEASE_TYPE,Dev Channel"]="WIF" ["MAGISK_VER,Stable"]="stable" ["MAGISK_VER,Beta"]="beta" ["MAGISK_VER,Canary"]="canary" ["MAGISK_VER,Debug"]="debug" ["MAGISK_VER,Custom"]="--magisk-custom" ["GAPPS_VAR,None"]="none" ["GAPPS_VAR,Pico (OpenGApps)"]="pico" ["GAPPS_VAR,Full (OpenGApps)"]="full" ["REMOVE_AMAZON,true"]="--remove-amazon" ["REMOVE_AMAZON,false"]="" ) + declare -A opts=( ["ARCH,x86_64"]="x64" ["ARCH,ARM64"]="arm64" ["RELEASE_TYPE,General Availability Channel"]="retail" ["RELEASE_TYPE,Release Preview Channel"]="RP" ["RELEASE_TYPE,Beta Channel"]="WIS" ["RELEASE_TYPE,Dev Channel"]="WIF" ["MAGISK_VER,Stable"]="stable" ["MAGISK_VER,Beta"]="beta" ["MAGISK_VER,Canary"]="canary" ["MAGISK_VER,Debug"]="debug" ["MAGISK_VER,Custom"]="--magisk-custom" ["GAPPS_VAR,None"]="none" ["GAPPS_VAR,Pico"]="pico" ["GAPPS_VAR,Full"]="full" ["REMOVE_AMAZON,true"]="--remove-amazon" ["REMOVE_AMAZON,false"]="" ) ARCH="${opts[ARCH,${{ inputs.arch }}]}" @@ -109,8 +109,8 @@ jobs: else # TODO: keep it 11.0 since official opengapps does not support 12+ yet # As soon as opengapps is available for 12+, we need to get the sdk/release from build.prop and download the corresponding version - if [ "${{ inputs.gapps_var }}" == "Full (OpenGApps)" ]; then - GAPPS_VAR="${opts[GAPPS_VAR,Pico (OpenGApps)]}" + if [ "${{ inputs.gapps_var }}" == "Full" ]; then + GAPPS_VAR="${opts[GAPPS_VAR,Pico]}" else GAPPS_VAR="${opts[GAPPS_VAR,${{ inputs.gapps_var }}]}" fi