Using sonar scanner action from github with selfhosted windows runners.
Scanner version is set to 8.0.1.6346 by default.
So there maybe a bug in downloading/caching function for the binary.
On every run the binaries are downloaded. I’m not very good in Javascript but maybe it’s not working correctly because the version is not SemVer V2? The Version is truncated to 8.0.1 and so its always downloaded. Can you fix this?
It looks like we’re not honoring RUNNER_TOOL_CACHE, and I’ll flag that for the devs.
In the meantime, can you try putting the cached scanner in PATH?
If you’re concerned with analysis speed, you may also want to explicitly cache the .sonar directory to skip re-download of the individual language analyzers.