To prevent a partial cache store, the RUNVCPKG_NO_CACHE needs to be set if the run is cancelled or fails. The docs for run-vcpkg mention doing it as an additional step, however this means that any failure at any stage of the job results in no cache being saved, which is less than ideal.
run-cmake should set this environment variable automatically iff the configure preset fails.
To prevent a partial cache store, the RUNVCPKG_NO_CACHE needs to be set if the run is cancelled or fails. The docs for run-vcpkg mention doing it as an additional step, however this means that any failure at any stage of the job results in no cache being saved, which is less than ideal.
run-cmake should set this environment variable automatically iff the configure preset fails.