move all files to the RUNNER_TEMP directory
This commit is contained in:
parent
a0d60d5d9e
commit
5ea736059a
18 changed files with 42 additions and 61 deletions
10
lib/util.js
generated
10
lib/util.js
generated
|
|
@ -42,16 +42,6 @@ function should_abort(actionName, requireInitActionHasRun) {
|
|||
return false;
|
||||
}
|
||||
exports.should_abort = should_abort;
|
||||
/**
|
||||
* Resolve the path to the workspace folder.
|
||||
*/
|
||||
function workspaceFolder() {
|
||||
let workspaceFolder = process.env['RUNNER_WORKSPACE'];
|
||||
if (!workspaceFolder)
|
||||
workspaceFolder = path.resolve('..');
|
||||
return workspaceFolder;
|
||||
}
|
||||
exports.workspaceFolder = workspaceFolder;
|
||||
/**
|
||||
* Get an environment parameter, but throw an error if it is not set.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue