Merge branch 'cloud-runner-develop' of https://github.com/game-ci/unity-builder into cloud-runner-develop
commit
054a398779
|
@ -5923,6 +5923,9 @@ class SharedWorkspaceLocking {
|
||||||
if (hasLock) {
|
if (hasLock) {
|
||||||
cloud_runner_1.default.lockedWorkspace = workspace;
|
cloud_runner_1.default.lockedWorkspace = workspace;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
yield SharedWorkspaceLocking.ReleaseWorkspace(workspace, runId, buildParametersContext);
|
||||||
|
}
|
||||||
return hasLock;
|
return hasLock;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -262,6 +262,8 @@ export class SharedWorkspaceLocking {
|
||||||
|
|
||||||
if (hasLock) {
|
if (hasLock) {
|
||||||
CloudRunner.lockedWorkspace = workspace;
|
CloudRunner.lockedWorkspace = workspace;
|
||||||
|
} else {
|
||||||
|
await SharedWorkspaceLocking.ReleaseWorkspace(workspace, runId, buildParametersContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
return hasLock;
|
return hasLock;
|
||||||
|
|
Loading…
Reference in New Issue