mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[windows] give full access to Temp folder (#1959)
Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user