pull/310/head
Frostebite 2021-12-31 16:21:56 +00:00
parent 0c5f6ce1aa
commit ae22ce21cb
3 changed files with 6 additions and 5 deletions

5
dist/index.js vendored
View File

@ -2812,9 +2812,10 @@ class SetupStep {
apk add unzip zip git-lfs jq tree nodejs -q
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
mkdir -p ${cloud_runner_state_1.CloudRunnerState.builderPathFull.replace(/\//g, `\\`)}
echo "test >>
git clone -b ${cloud_runner_state_1.CloudRunnerState.branchName} ${cloud_runner_state_1.CloudRunnerState.unityBuilderRepoUrl} "${cloud_runner_state_1.CloudRunnerState.builderPathFull.replace(/\//g, `\\`)}"
chmod +x ${path_1.default.join(cloud_runner_state_1.CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '')}
node ${path_1.default.join(cloud_runner_state_1.CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '')} -m remote-cli
chmod +x ${path_1.default.join(cloud_runner_state_1.CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '\\')}
node ${path_1.default.join(cloud_runner_state_1.CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '\\')} -m remote-cli
`, `/${cloud_runner_state_1.CloudRunnerState.buildVolumeFolder}`, `/${cloud_runner_state_1.CloudRunnerState.buildVolumeFolder}/`, environmentVariables, secrets);
}
catch (error) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -39,8 +39,8 @@ export class SetupStep implements StepInterface {
git clone -b ${CloudRunnerState.branchName} ${
CloudRunnerState.unityBuilderRepoUrl
} "${CloudRunnerState.builderPathFull.replace(/\//g, `\\`)}"
chmod +x ${path.join(CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '')}
node ${path.join(CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '')} -m remote-cli
chmod +x ${path.join(CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '\\')}
node ${path.join(CloudRunnerState.builderPathFull, 'dist', `index.js`).replace(/\//g, '\\')} -m remote-cli
`,
`/${CloudRunnerState.buildVolumeFolder}`,
`/${CloudRunnerState.buildVolumeFolder}/`,