actions-setup-cmake icon indicating copy to clipboard operation
actions-setup-cmake copied to clipboard

Slow installation

Open aminya opened this issue 3 years ago • 2 comments

When I use this package it takes around 30s to install CMake. Could you speed up this installation (e.g. by skipping some steps like getting the version info)

aminya avatar May 26 '21 04:05 aminya

For anyone interested in faster approaches: what libexpat is doing to install ancient CMake at https://github.com/libexpat/libexpat/pull/536/files takes 1-2 seconds runtime. That approach is more low-level and less flexible though, to be fair.

hartwork avatar Jan 01 '22 15:01 hartwork

Yeah it would definitely be faster to guess the version info when the version is fully specified rather than pulling all versions from github. That probably requires a fair bit of reorganising the launching code so it's not a quick thing to do.

jwlawson avatar Jan 14 '22 18:01 jwlawson