mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-30 07:04:14 +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: |
|
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" )
|
||||||
|
|
||||||
if [[ "{{ inputs.magisk_ver }}" == "None" ]]; then
|
if [[ "${{ inputs.magisk_ver }}" == "None" ]]; then
|
||||||
magiskVer=""
|
magiskVer=""
|
||||||
elif [[ "{{ inputs.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")"
|
||||||
|
Loading…
Reference in New Issue
Block a user