Closed malaterre closed 1 year ago
@malaterre good idea! Would you be able to provide a small sample of how it would be used? I need to add a sample like the workflow one: https://github.com/lukka/CppBuildTasks-Validation/blob/v10/.github/workflows/hosted-cmake-workflow.yml I haven't done my homework yet, and have these questions:
workflow
preset? cpack
or to cmake
?Hi lukka !
Here is what I did:
- name: Manual CPack preset step
run: cpack --preset '${{ env.CMAKE_PRESET }}'
This is definitely an option of cpack. I have not read on worflow
stuff yet, so I do not know.
HTH
@malaterre ok, go it. Would you mind testing this version suits your needs?
lukka/run-cmake@dev/package-preset
@lukka seems like I am missing something here:
@malaterre thanks for trying, I fixed it, you may try again.
That worked out just fine:
Thanks !
Solved in #109
In issue #102 workflow preset support was added, but not package preset. Could you please add "packagePreset" support just like
configurePreset/buildPreset
.ref:
thanks !