mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
Update build.yaml
This commit is contained in:
parent
bde50303cd
commit
548bb674bd
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user