mirror of https://github.com/UMSKT/xpmgr.git
Attempt to cache XP Support
This commit is contained in:
parent
b2e858bbaa
commit
be18b52629
|
@ -19,7 +19,7 @@ jobs:
|
||||||
"Microsoft.VisualStudio.Component.WinXP"
|
"Microsoft.VisualStudio.Component.WinXP"
|
||||||
)
|
)
|
||||||
[string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_}
|
[string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_}
|
||||||
$Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$workloadArgs, '--quiet', '--norestart', '--nocache')
|
$Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$workloadArgs, '--quiet', '--norestart', '--nocache', '--layout D:\a\VSLayout')
|
||||||
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
||||||
if ($process.ExitCode -eq 0)
|
if ($process.ExitCode -eq 0)
|
||||||
{
|
{
|
||||||
|
@ -55,3 +55,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: xpmgr (x64)
|
name: xpmgr (x64)
|
||||||
path: .\x64\Release
|
path: .\x64\Release
|
||||||
|
|
||||||
|
- name: Cache XP Support for Visual Studio
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: D:\a\VSLayout
|
||||||
|
|
Loading…
Reference in New Issue