Skip to content

Commit d2af724

Browse files
authored
WinPB: Remove package cache from VS2022 installation options (#4128)
1 parent c9dffc6 commit d2af724

File tree

1 file changed

+1
-1
lines changed
  • ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/MSVS_2022/tasks

1 file changed

+1
-1
lines changed

ansible/playbooks/AdoptOpenJDK_Windows_Playbook/roles/MSVS_2022/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
- name: Run Visual Studio 2022 Installer From Download
124124
win_shell: |
125-
Start-Process -Wait -FilePath 'C:\temp\vs_BuildTools22.exe' -ArgumentList '--wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --includeOptional --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 --quiet --norestart'
125+
Start-Process -Wait -FilePath 'C:\temp\vs_BuildTools22.exe' -ArgumentList '--nocache --wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --includeOptional --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 --quiet --norestart'
126126
args:
127127
executable: powershell
128128
when: (not vs2022_installed.stat.exists) and (windows_version.stdout_lines[0] | regex_search('^(10\.|11\.|2016|2019|2022)'))

0 commit comments

Comments
 (0)