mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-02-02 21:12:31 +01:00
fix: WSA name
This commit is contained in:
parent
fc6301efea
commit
7b7f3e766c
28
.github/workflows/build.yaml
vendored
28
.github/workflows/build.yaml
vendored
@ -109,11 +109,15 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ARCH" != "arm64" ]; then
|
if [ "$ARCH" != "arm64" ]; then
|
||||||
GAPPS_VAR="${opts[GAPPS_VAR,${{ inputs.gapps_var }}]}"
|
GAPPS_VAR="${opts[GAPPS_VAR,${{ inputs.gapps_var }}]}"
|
||||||
else
|
else
|
||||||
# TODO: keep it 11.0 since official opengapps does not support 12+ yet
|
# 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
|
# As soon as opengapps is available for 12+, we need to get the sdk/release from build.prop and download the corresponding version
|
||||||
GAPPS_VAR="pico"
|
if [ "${{ inputs.gapps_var }}" = "Full" ]; then
|
||||||
|
GAPPS_VAR="pico"
|
||||||
|
else
|
||||||
|
GAPPS_VAR="${opts[GAPPS_VAR,${{ inputs.gapps_var }}]}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${{inputs.gapps_var }}" != "None" ]; then
|
if [ "${{inputs.gapps_var }}" != "None" ]; then
|
||||||
@ -144,27 +148,23 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
declare -A magisk_vers=( ["Stable"]="stable" ["Beta"]="beta" ["Canary"]="canary" ["Debug"]="debug" )
|
declare -A magisk_vers=( ["Stable"]="stable" ["Beta"]="beta" ["Canary"]="canary" ["Debug"]="debug" )
|
||||||
|
|
||||||
magisk_ver="{{ inputs.magisk_ver }}"
|
if [[ "{{ inputs.magisk_ver }}" = "None" ]]; then
|
||||||
gapps_var="${{ inputs.gapps_var }}"
|
|
||||||
remove_amazon="${{ inputs.remove_amazon }}"
|
|
||||||
|
|
||||||
if [[ "$magisk_ver" = "None" ]]; then
|
|
||||||
magiskVer=""
|
magiskVer=""
|
||||||
elif [[ "$magisk_ver" = "Custom (URL)" ]]; then
|
elif [[ "{{ inputs.magisk_ver }}" = "Custom (URL)" ]]; then
|
||||||
magiskVer="_Magisk-Custom"
|
magiskVer="_Magisk-Custom"
|
||||||
else
|
else
|
||||||
magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")"
|
magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$gapps_var" = "None" ]]; then
|
if [[ "${{ inputs.gapps_var }}" = "None" ]]; then
|
||||||
gappsVar=""
|
gappsVar=""
|
||||||
elif [[ "$gapps_var" = "MindTheGapps (URL)" ]]; then
|
elif [[ "${{ inputs.gapps_var }}" = "MindTheGapps (URL)" ]]; then
|
||||||
gappsVar="_MindTheGapps"
|
gappsVar="_MindTheGapps"
|
||||||
else
|
else
|
||||||
gappsVar="_${gapps_var}-OpenGApps"
|
gappsVar="_${{ inputs.gapps_var }}-OpenGApps"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$remove_amazon" == "true" ]]; then
|
if [[ "${{ inputs.remove_amazon }}" == "true" ]]; then
|
||||||
amazon=""
|
amazon=""
|
||||||
else
|
else
|
||||||
amazon="_Amazon-AppStore"
|
amazon="_Amazon-AppStore"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user