Set TEMP environment variable to $TempDir on CI machines (#41361)
Set TEMP environment variable to $TempDir on CI machines (#41361)

* Set TEMP environment variable to $TempDir on CI machines

https://github.com/dotnet/arcade/pull/4744 reverted setting the variable in `tools.ps1` due to issues it caused in other repos.

dotnet/roslyn,gafter/roslyn,ErikSchierboom/roslyn,genlu/roslyn,AlekseyTs/roslyn,weltkante/roslyn,eriawan/roslyn,sharwell/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,jmarolf/roslyn,sharwell/roslyn,panopticoncentral/roslyn,panopticoncentral/roslyn,ErikSchierboom/roslyn,reaction1989/roslyn,reaction1989/roslyn,dotnet/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,agocke/roslyn,jmarolf/roslyn,bartdesmet/roslyn,brettfo/roslyn,abock/roslyn,mavasani/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,diryboy/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,mavasani/roslyn,weltkante/roslyn,agocke/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,davkean/roslyn,genlu/roslyn,ErikSchierboom/roslyn,aelij/roslyn,mgoertz-msft/roslyn,stephentoub/roslyn,weltkante/roslyn,physhi/roslyn,AmadeusW/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,stephentoub/roslyn,mavasani/roslyn,physhi/roslyn,tannergooding/roslyn,jasonmalinowski/roslyn,panopticoncentral/roslyn,jmarolf/roslyn,heejaechang/roslyn,AlekseyTs/roslyn,physhi/roslyn,heejaechang/roslyn,abock/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,KirillOsenkov/roslyn,KirillOsenkov/roslyn,gafter/roslyn,tmat/roslyn,dotnet/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,aelij/roslyn,KevinRansom/roslyn,davkean/roslyn,tmat/roslyn,davkean/roslyn,gafter/roslyn,heejaechang/roslyn,eriawan/roslyn,brettfo/roslyn,bartdesmet/roslyn,tmat/roslyn,agocke/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,wvdd007/roslyn,genlu/roslyn,reaction1989/roslyn,brettfo/roslyn,wvdd007/roslyn,aelij/roslyn,jasonmalinowski/roslyn,abock/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn