mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Always use relative path to action runner workspace
This commit is contained in:
parent
5952e3d2f6
commit
4e59bb0d2a
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -18,11 +18,6 @@ export default class Action {
|
||||
}
|
||||
|
||||
static get rootFolder() {
|
||||
if (!Action.isRunningLocally) {
|
||||
const workspace = process.env.RUNNER_WORKSPACE;
|
||||
return `${workspace}/${path.basename(workspace)}`;
|
||||
}
|
||||
|
||||
if (Action.isRunningFromSource) {
|
||||
return path.dirname(path.dirname(path.dirname(__filename)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user