Skip to content

Commit

Permalink
🚑 Try surrounding conditional statement in quotes
Browse files Browse the repository at this point in the history
Another try to see if it's possible to get around `Error: /home/runner/work/conda-lock-refresh/conda-lock-refresh/./action.yml: (Line: 55, Col: 38, Idx: 1521) - (Line: 55, Col: 38, Idx: 1521): Mapping values are not allowed in this context.
Error: System.ArgumentException: Unexpected type '' encountered while reading 'action manifest root'. The type 'MappingToken' was expected`
  • Loading branch information
weiji14 committed Sep 22, 2023
1 parent 633ec63 commit 66c163f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66c163f

Please sign in to comment.