I need to have a configure-option with a space in it. Specifically, I need to pass something -DXXXX_ROOT=C:/Program Files/XXXX. And I'm actually getting the pathname from an environment variable (with ${{ env.XXXX_DIR }}).
I have tried putting quotes in all sorts of places, but nothing works.
Then I went to the source of action-cmake-build, and saw that in cmake_runner.ts line 73 you're doing a hard split on spaces:
I need to have a
configure-option
with a space in it. Specifically, I need to pass something-DXXXX_ROOT=C:/Program Files/XXXX
. And I'm actually getting the pathname from an environment variable (with${{ env.XXXX_DIR }}
).I have tried putting quotes in all sorts of places, but nothing works.
Then I went to the source of action-cmake-build, and saw that in
cmake_runner.ts
line 73 you're doing a hard split on spaces:I get the impression that no amount of quoting or backslash-escaping or backslash-escaped-quotes that I can think of will get around this...