From 959033d7f52865658bee9a98bcc4c5007c844e7a Mon Sep 17 00:00:00 2001 From: Peter Njeim Date: Mon, 29 Aug 2022 21:31:10 -0300 Subject: [PATCH] fix: name --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c966f48..6d57b56 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -142,7 +142,9 @@ jobs: - name: Generate Release Asset Name working-directory: ./output run: | - magisk_ver="${{ inputs.magisk_ver }}" + declare -A magisk_vers=( ["Stable"]="stable" ["Beta"]="beta" ["Canary"]="canary" ["Debug"]="debug" ) + + magisk_ver="${magisk_vers[${{ inputs.magisk_ver }}]}" gapps_var="${{ inputs.gapps_var }}" remove_amazon="${{ inputs.remove_amazon }}"