The action downloads and caches CMake and Ninja on your workflows.
You can pin your workflow to specific versions you want to use, e.g.,:
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.23.0
ninjaVersion: 1.10.0
Or pin your workflow to a specific CMake version using an existing Git tag with this one-liner:
uses: lukka/[email protected]
To keep your workflow updated to latest CMake and Ninja use this one-liner:
uses: lukka/get-cmake@latest
The version of Ninja is the last at the time of the CMake release, unless specified with the ninjaVersion
input.
Enjoy!