Skip to content

Commit

Permalink
README.md: Wrap argument list in quotes
Browse files Browse the repository at this point in the history
Otherwise the workflow is rejected with the following error:

"A sequence was not expected"
  • Loading branch information
davidebeatrici authored and lukka committed Mar 9, 2023
1 parent 2d1ee0a commit 94bc5f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,21 @@ jobs:
# Additional arguments can be appended to the cmake command.
# This is useful to reduce the number of CMake's Presets since you can reuse
# an existing preset with different variables.
configurePresetAdditionalArgs: ['-DENABLE_YOUR_FEATURE=1']
configurePresetAdditionalArgs: "['-DENABLE_YOUR_FEATURE=1']"

# This is the name of the CMakePresets.json's configuration to build the project.
buildPreset: 'ninja-multi-vcpkg'
# Additional arguments can be appended when building, for example to specify the
# configuration to build.
# This is useful to reduce the number of CMake's Presets you need in CMakePresets.json.
buildPresetAdditionalArgs: ['--config Release']
buildPresetAdditionalArgs: "['--config Release']"

# This is the name of the CMakePresets.json's configuration to test the project with.
testPreset: 'ninja-multi-vcpkg'
# Additional arguments can be appended when testing, for example to specify the config
# to test.
# This is useful to reduce the number of CMake's Presets you need in CMakePresets.json.
testPresetAdditionalArgs: ['--config Release']
testPresetAdditionalArgs: "['--config Release']"

#env:
# VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }} # [OPTIONAL] Define the vcpkg's triplet
Expand Down

0 comments on commit 94bc5f0

Please sign in to comment.