mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Adding some more logging
This commit is contained in:
parent
034a36f362
commit
4c52b94312
2
dist/platforms/windows/entrypoint.ps1
vendored
2
dist/platforms/windows/entrypoint.ps1
vendored
@ -5,7 +5,7 @@ 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"
|
||||
Write-Host "No .upmconfig.toml found at C:\githubhome"
|
||||
}
|
||||
|
||||
# Import any necessary registry keys, ie: location of windows 10 sdk
|
||||
|
@ -100,10 +100,13 @@ class Docker {
|
||||
dockerIsolationMode,
|
||||
} = parameters;
|
||||
|
||||
// 🔥 Add log for runnerTempPath
|
||||
console.log(`🛠️ [DockerCommand] runnerTempPath = ${runnerTempPath}`);
|
||||
|
||||
const githubHome = path.join(runnerTempPath, '_github_home');
|
||||
if (!existsSync(githubHome)) mkdirSync(githubHome);
|
||||
|
||||
return `docker run \
|
||||
const dockerCommand = `docker run \
|
||||
--workdir c:${dockerWorkspacePath} \
|
||||
--rm \
|
||||
${ImageEnvironmentFactory.getEnvVarString(parameters)} \
|
||||
@ -125,7 +128,12 @@ class Docker {
|
||||
--isolation=${dockerIsolationMode} \
|
||||
${image} \
|
||||
powershell c:/steps/entrypoint.ps1`;
|
||||
}
|
||||
|
||||
// 🔥 Add log for final dockerCommand
|
||||
console.log('🛠️ [DockerCommand] Final Windows Docker command:');
|
||||
console.log(dockerCommand);
|
||||
|
||||
return dockerCommand;
|
||||
}
|
||||
|
||||
export default Docker;
|
||||
|
Loading…
Reference in New Issue
Block a user