diff --git a/dist/index.js b/dist/index.js index 566d8bbc..dab386f0 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 21d45a8b..9da4174a 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/dist/platforms/windows/entrypoint.ps1 b/dist/platforms/windows/entrypoint.ps1 index 25316ef3..9bd9b37f 100644 --- a/dist/platforms/windows/entrypoint.ps1 +++ b/dist/platforms/windows/entrypoint.ps1 @@ -8,8 +8,8 @@ Get-ChildItem -Recurse "C:\Users" | ForEach-Object { # Copy .upmconfig.toml if it exists if (Test-Path "C:\githubhome\.upmconfig.toml") { - Write-Host "Copying .upmconfig.toml to C:\ProgramData\Unity\config\upmconfig.toml" - Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\ProgramData\Unity\config\upmconfig.toml" -Force + Write-Host "Copying .upmconfig.toml to $Env:USERPROFILE\.upmconfig.toml" + Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "$Env:USERPROFILE\.upmconfig.toml" -Force } else { Write-Host "No .upmconfig.toml found at C:\githubhome" } diff --git a/src/model/docker.ts b/src/model/docker.ts index 75190a25..21344429 100644 --- a/src/model/docker.ts +++ b/src/model/docker.ts @@ -111,6 +111,7 @@ class Docker { --rm \ ${ImageEnvironmentFactory.getEnvVarString(parameters)} \ --env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \ + --env UPM_GLOBAL_CONFIG_FILE="C:/githubhome/.upmconfig.toml" \ ${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \ --volume "${workspace}":"c:${dockerWorkspacePath}" \ --volume "${githubHome}":"C:/githubhome" \