Change entrypoint mount locatoin

pull/246/head
Andrew Kahr 2023-12-10 16:29:35 -08:00
parent e5e4d34792
commit 462c9fe42d
9 changed files with 3 additions and 5 deletions

3
dist/index.js generated vendored
View File

@ -295,7 +295,6 @@ const Docker = {
--volume "${workspace}:/github/workspace:z" \
--volume "${actionFolder}/test-standalone-scripts:/UnityStandaloneScripts:z" \
--volume "${actionFolder}/platforms/ubuntu/steps:/steps:z" \
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
--volume "${actionFolder}/unity-config:/usr/share/unity3d/config/:z" \
--volume "${actionFolder}/BlankProject":"/BlankProject:z" \
--cpus=${dockerCpuLimit} \
@ -310,7 +309,7 @@ const Docker = {
${useHostNetwork ? '--net=host' : ''} \
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \
${image} \
/bin/bash -c /entrypoint.sh`;
/bin/bash -c /steps/entrypoint.sh`;
},
getWindowsCommand(image, parameters) {
const { actionFolder, workspace, testMode, useHostNetwork, sshAgent, githubToken, runnerTemporaryPath, dockerCpuLimit, dockerMemoryLimit, dockerIsolationMode, } = parameters;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -87,7 +87,6 @@ const Docker = {
--volume "${workspace}:/github/workspace:z" \
--volume "${actionFolder}/test-standalone-scripts:/UnityStandaloneScripts:z" \
--volume "${actionFolder}/platforms/ubuntu/steps:/steps:z" \
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
--volume "${actionFolder}/unity-config:/usr/share/unity3d/config/:z" \
--volume "${actionFolder}/BlankProject":"/BlankProject:z" \
--cpus=${dockerCpuLimit} \
@ -106,7 +105,7 @@ const Docker = {
${useHostNetwork ? '--net=host' : ''} \
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \
${image} \
/bin/bash -c /entrypoint.sh`;
/bin/bash -c /steps/entrypoint.sh`;
},
getWindowsCommand(image, parameters): string {