Fix variable propogation
parent
08cb3866f3
commit
86f42e83ca
|
@ -98,7 +98,7 @@ function run() {
|
|||
try {
|
||||
model_1.Action.checkCompatibility();
|
||||
const { workspace, actionFolder } = model_1.Action;
|
||||
const { editorVersion, customImage, projectPath, customParameters, testMode, coverageOptions, artifactsPath, useHostNetwork, sshAgent, sshPublicKeysDirectoryPath, gitPrivateToken, githubToken, checkName, packageMode, packageName, chownFilesTo, dockerCpuLimit, dockerMemoryLimit, dockerIsolationMode, unityLicensingServer, runAsHostUser, containerRegistryRepository, containerRegistryImageVersion, } = model_1.Input.getFromUser();
|
||||
const { editorVersion, customImage, projectPath, customParameters, testMode, coverageOptions, artifactsPath, useHostNetwork, sshAgent, sshPublicKeysDirectoryPath, gitPrivateToken, githubToken, checkName, packageMode, packageName, chownFilesTo, dockerCpuLimit, dockerMemoryLimit, dockerIsolationMode, unityLicensingServer, runAsHostUser, containerRegistryRepository, containerRegistryImageVersion, unitySerial, } = model_1.Input.getFromUser();
|
||||
const baseImage = new model_1.ImageTag({
|
||||
editorVersion,
|
||||
customImage,
|
||||
|
@ -127,7 +127,8 @@ function run() {
|
|||
dockerMemoryLimit,
|
||||
dockerIsolationMode,
|
||||
unityLicensingServer,
|
||||
runAsHostUser }, runnerContext));
|
||||
runAsHostUser,
|
||||
unitySerial }, runnerContext));
|
||||
}
|
||||
finally {
|
||||
yield model_1.Output.setArtifactsPath(artifactsPath);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -30,6 +30,7 @@ export async function run() {
|
|||
runAsHostUser,
|
||||
containerRegistryRepository,
|
||||
containerRegistryImageVersion,
|
||||
unitySerial,
|
||||
} = Input.getFromUser();
|
||||
const baseImage = new ImageTag({
|
||||
editorVersion,
|
||||
|
@ -62,6 +63,7 @@ export async function run() {
|
|||
dockerIsolationMode,
|
||||
unityLicensingServer,
|
||||
runAsHostUser,
|
||||
unitySerial,
|
||||
...runnerContext,
|
||||
});
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue