Try only copying the file

This commit is contained in:
Daniel Lupiañez Casares 2025-04-29 12:47:00 +02:00
parent 108c850168
commit 7def651231
4 changed files with 0 additions and 14 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -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"

View File

@ -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;
}
}