diff --git a/dist/platforms/windows/entrypoint.ps1 b/dist/platforms/windows/entrypoint.ps1 index 4d7057e6..c8dc770b 100644 --- a/dist/platforms/windows/entrypoint.ps1 +++ b/dist/platforms/windows/entrypoint.ps1 @@ -1,5 +1,13 @@ Get-Process +# Copy .upmconfig.toml if it exists +if (Test-Path "C:\githubhome\.upmconfig.toml") { + Write-Host "Copying .upmconfig.toml to C:\Users\runneradmin" + Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\Users\runneradmin\" -Force +} else { + Write-Host "No .upmconfig.toml found at C:\githuhHome" +} + # Import any necessary registry keys, ie: location of windows 10 sdk # No guarantee that there will be any necessary registry keys, ie: tvOS Get-ChildItem -Path c:\regkeys -File | ForEach-Object { reg import $_.fullname } diff --git a/src/model/docker.ts b/src/model/docker.ts index efd2bb5d..8820fbbe 100644 --- a/src/model/docker.ts +++ b/src/model/docker.ts @@ -110,7 +110,7 @@ class Docker { --env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \ ${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \ --volume "${workspace}":"c:${dockerWorkspacePath}" \ - --volume "${githubHome}":"C:/Users/runneradmin" \ + --volume "${githubHome}":"C:/githubhome" \ --volume "c:/regkeys":"c:/regkeys" \ --volume "C:/Program Files/Microsoft Visual Studio":"C:/Program Files/Microsoft Visual Studio" \ --volume "C:/Program Files (x86)/Microsoft Visual Studio":"C:/Program Files (x86)/Microsoft Visual Studio" \