fix: syntax error

This commit is contained in:
Peter Njeim 2022-08-29 22:55:19 -03:00 committed by GitHub
parent 89947db35c
commit 5cf7131d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")"