From 633ec63851d83f484b350f492dc39e0cdd02ff49 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Fri, 22 Sep 2023 17:31:53 +1200 Subject: [PATCH] :ambulance: Put curly brackets around conditional statement SyntaxError. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8e252e8..3426a84 100644 --- a/action.yml +++ b/action.yml @@ -52,7 +52,7 @@ runs: rm --force conda-lock.yml conda-lock lock $MAMBA --file ${{ inputs.file }} --kind ${{ inputs.kind }} --platform ${{ inputs.platform }} env: - MAMBA: fromJSON('{"false": "--no-mamba", "true": "--mamba"}')[inputs.mamba] + MAMBA: ${{ fromJSON('{"false": "--no-mamba", "true": "--mamba"}')[inputs.mamba] }} shell: bash -l {0} # Print contents of lockfile