mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 21:24:15 +01:00
fix: syntax error
This commit is contained in:
parent
89947db35c
commit
5cf7131d9c
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -148,9 +148,9 @@ jobs:
|
||||
run: |
|
||||
declare -A magisk_vers=( ["Stable"]="stable" ["Beta"]="beta" ["Canary"]="canary" ["Debug"]="debug" )
|
||||
|
||||
if [[ "{{ inputs.magisk_ver }}" == "None" ]]; then
|
||||
if [[ "${{ inputs.magisk_ver }}" == "None" ]]; then
|
||||
magiskVer=""
|
||||
elif [[ "{{ inputs.magisk_ver }}" == "Custom (URL)" ]]; then
|
||||
elif [[ "${{ inputs.magisk_ver }}" == "Custom (URL)" ]]; then
|
||||
magiskVer="_Magisk-Custom"
|
||||
else
|
||||
magiskVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/${magisk_vers[${{ inputs.magisk_ver }}]}.json | jq -r ".magisk.version")"
|
||||
|
Loading…
Reference in New Issue
Block a user