Fix: check for retained workspace

pull/461/head
Frostebite 2022-10-06 00:29:54 +01:00
parent 7d404398cc
commit cf8c2c2a6d
3 changed files with 4 additions and 4 deletions

2
dist/index.js vendored
View File

@ -5146,7 +5146,7 @@ class BuildAutomationWorkflow {
chmod +x ${builderPath}`; chmod +x ${builderPath}`;
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
echo "game ci cloud runner clone" echo "game ci cloud runner clone"
if [ -d ${cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(cloud_runner_folders_1.CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)} ]; then echo "Retained Workspace Already Exists!"; else ${commands.replace(`\n`, ` && `)}; fi if [ -d "${cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(cloud_runner_folders_1.CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)}" ]; then echo "Retained Workspace Already Exists!"; else ${commands.replace(`\n`, ` && `)}; fi
echo "game ci cloud runner bootstrap" echo "game ci cloud runner bootstrap"
node ${builderPath} -m remote-cli`; node ${builderPath} -m remote-cli`;
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -130,9 +130,9 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
echo "game ci cloud runner clone" echo "game ci cloud runner clone"
if [ -d ${CloudRunnerFolders.ToLinuxFolder( if [ -d "${CloudRunnerFolders.ToLinuxFolder(
CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute,
)} ]; then echo "Retained Workspace Already Exists!"; else ${commands.replace(`\n`, ` && `)}; fi )}" ]; then echo "Retained Workspace Already Exists!"; else ${commands.replace(`\n`, ` && `)}; fi
echo "game ci cloud runner bootstrap" echo "game ci cloud runner bootstrap"
node ${builderPath} -m remote-cli`; node ${builderPath} -m remote-cli`;
} }