Skip to content

Commit 4e59bb0

Browse files
committed
Always use relative path to action runner workspace
1 parent 5952e3d commit 4e59bb0

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/model/action.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ export default class Action {
1818
}
1919

2020
static get rootFolder() {
21-
if (!Action.isRunningLocally) {
22-
const workspace = process.env.RUNNER_WORKSPACE;
23-
return `${workspace}/${path.basename(workspace)}`;
24-
}
25-
2621
if (Action.isRunningFromSource) {
2722
return path.dirname(path.dirname(path.dirname(__filename)));
2823
}

0 commit comments

Comments
 (0)