I am trying to write a GitHub action tool to download & setup Nuget.exe however by passing the URL
const nugetPath = await tc.downloadTool("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe");
This saves the file as something like this
temp/b438b0f2-af22-456a-8a77-ddc4152465b9 minus the .exe file extension
I could workaround it by manually renaming it with using NodeJS fs APIs but this feels a bit wrong to me.
I am trying to write a GitHub action tool to download & setup Nuget.exe however by passing the URL
const nugetPath = await tc.downloadTool("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe");This saves the file as something like this
temp/b438b0f2-af22-456a-8a77-ddc4152465b9minus the .exe file extensionI could workaround it by manually renaming it with using NodeJS fs APIs but this feels a bit wrong to me.