mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Try only copying the file
This commit is contained in:
parent
108c850168
commit
7def651231
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
6
dist/platforms/windows/entrypoint.ps1
vendored
6
dist/platforms/windows/entrypoint.ps1
vendored
@ -1,11 +1,5 @@
|
||||
Get-Process
|
||||
|
||||
# List all files under C:\Users
|
||||
Write-Host "Listing contents of C:\Users"
|
||||
Get-ChildItem -Recurse "C:\Users" | ForEach-Object {
|
||||
Write-Host ($_.FullName)
|
||||
}
|
||||
|
||||
# Copy .upmconfig.toml if it exists
|
||||
if (Test-Path "C:\githubhome\.upmconfig.toml") {
|
||||
Write-Host "Copying .upmconfig.toml to $Env:USERPROFILE\.upmconfig.toml"
|
||||
|
@ -100,9 +100,6 @@ 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);
|
||||
|
||||
@ -111,7 +108,6 @@ 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" \
|
||||
@ -130,10 +126,6 @@ class Docker {
|
||||
${image} \
|
||||
powershell c:/steps/entrypoint.ps1`;
|
||||
|
||||
// 🔥 Add log for final dockerCommand
|
||||
console.log('🛠️ [DockerCommand] Final Windows Docker command:');
|
||||
console.log(dockerCommand);
|
||||
|
||||
return dockerCommand;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user