Closed japarson closed 2 months ago
Might not be related but I was also experiencing this yesterday. That was caused by the PowerShell Gallery being slow. I took ages to load files from your module and I also had builds that took much longer or even failed due to installation issues.
Maybe keeping a copy of the whole module in this repository could be an option? Feels like a workaround but it would avoid this extra install step.
@dlemstra I like your suggestion of keeping the module in the repo (as a zip file?). I'll probably implement that at least as a workaround while I explore all the options. Another avenue to explore would be using something like https://github.com/potatoqualitee/psmodulecache/tree/main to cache the module between runs.
FYI @japarson could be due to the C drive being slower 😢
https://github.com/actions/setup-dotnet/issues/260#issuecomment-1794326743
Slowness has mostly been resolved with caching support.
There appears to be some known peformance issues with the
Install-Module
command which lead to it taking minutes to complete.We can potentially avoid this bottleneck by using something like https://github.com/marketplace/actions/modulefast.