[windows] give full access to Temp folder (#1959)

Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
Sergey Dolin
2020-11-03 17:58:18 +05:00
committed by GitHub
parent d1d66ae0fd
commit d511b0d2da

View File

@@ -33,4 +33,8 @@ Remove-Item $profile.AllUsersAllHosts -Force
# Clean yarn and npm cache
yarn cache clean
npm cache clean --force
npm cache clean --force
# allow msi to write to temp folder
# see https://github.com/actions/virtual-environments/issues/1704
icacls "C:\Windows\Temp" /q /c /t /grant Users:F /T