Testing two more approaches
parent
43947c1ed3
commit
108c850168
|
@ -6114,6 +6114,7 @@ class Docker {
|
||||||
--rm \
|
--rm \
|
||||||
${image_environment_factory_1.default.getEnvVarString(parameters)} \
|
${image_environment_factory_1.default.getEnvVarString(parameters)} \
|
||||||
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
|
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
|
||||||
|
--env UPM_GLOBAL_CONFIG_FILE="C:/githubhome/.upmconfig.toml" \
|
||||||
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
|
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
|
||||||
--volume "${workspace}":"c:${dockerWorkspacePath}" \
|
--volume "${workspace}":"c:${dockerWorkspacePath}" \
|
||||||
--volume "${githubHome}":"C:/githubhome" \
|
--volume "${githubHome}":"C:/githubhome" \
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,8 +8,8 @@ Get-ChildItem -Recurse "C:\Users" | ForEach-Object {
|
||||||
|
|
||||||
# Copy .upmconfig.toml if it exists
|
# Copy .upmconfig.toml if it exists
|
||||||
if (Test-Path "C:\githubhome\.upmconfig.toml") {
|
if (Test-Path "C:\githubhome\.upmconfig.toml") {
|
||||||
Write-Host "Copying .upmconfig.toml to C:\ProgramData\Unity\config\upmconfig.toml"
|
Write-Host "Copying .upmconfig.toml to $Env:USERPROFILE\.upmconfig.toml"
|
||||||
Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "C:\ProgramData\Unity\config\upmconfig.toml" -Force
|
Copy-Item -Path "C:\githubhome\.upmconfig.toml" -Destination "$Env:USERPROFILE\.upmconfig.toml" -Force
|
||||||
} else {
|
} else {
|
||||||
Write-Host "No .upmconfig.toml found at C:\githubhome"
|
Write-Host "No .upmconfig.toml found at C:\githubhome"
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,6 +111,7 @@ class Docker {
|
||||||
--rm \
|
--rm \
|
||||||
${ImageEnvironmentFactory.getEnvVarString(parameters)} \
|
${ImageEnvironmentFactory.getEnvVarString(parameters)} \
|
||||||
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
|
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
|
||||||
|
--env UPM_GLOBAL_CONFIG_FILE="C:/githubhome/.upmconfig.toml" \
|
||||||
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
|
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
|
||||||
--volume "${workspace}":"c:${dockerWorkspacePath}" \
|
--volume "${workspace}":"c:${dockerWorkspacePath}" \
|
||||||
--volume "${githubHome}":"C:/githubhome" \
|
--volume "${githubHome}":"C:/githubhome" \
|
||||||
|
|
Loading…
Reference in New Issue