Skip to content

Commit

Permalink
Wrap quotes around command string.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad committed Jul 11, 2023
1 parent de0ba33 commit 0f988c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-as-coder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
shell: su coder {0}
run: |
cd ~/cccl
eval ${{inputs.command}} || exit_code=$?
eval "${{inputs.command}}" || exit_code=$?
if [ ! -z "$exit_code" ]; then
echo "::error::Error! To checkout the corresponding code and reproduce locally, run the following commands:"
echo "git clone --branch $GITHUB_REF_NAME --single-branch --recurse-submodules https://github.com/$GITHUB_REPOSITORY.git && cd $(echo $GITHUB_REPOSITORY | cut -d'/' -f2) && git checkout $GITHUB_SHA"
Expand Down

0 comments on commit 0f988c4

Please sign in to comment.