pull/437/head
Frostebite 2022-10-13 23:09:00 +01:00
parent 2b906d3570
commit f86324e7c5
3 changed files with 7 additions and 5 deletions

5
dist/index.js vendored
View File

@ -5727,9 +5727,10 @@ class Docker {
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
${entrypointBash ? `--entrypoint ${commandPrefix} ` : ``} \
${image} \
${entrypointBash ? `--entrypoint ${commandPrefix} ` : `${commandPrefix} -c `} \
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
${!entrypointBash ? `${commandPrefix} -c ` : ``} \
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
}
static getWindowsCommand(image, parameters) {
const { workspace, actionFolder, unitySerial, gitPrivateToken } = parameters;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -60,9 +60,10 @@ class Docker {
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
${entrypointBash ? `--entrypoint ${commandPrefix} ` : ``} \
${image} \
${entrypointBash ? `--entrypoint ${commandPrefix} ` : `${commandPrefix} -c `} \
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
${!entrypointBash ? `${commandPrefix} -c ` : ``} \
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
}
static getWindowsCommand(image: any, parameters: any): string {