Allow overriding path of temporary files.
This commit is contained in:
parent
6408d72268
commit
ed751ece83
12 changed files with 22 additions and 15 deletions
2
lib/autobuild-action.js
generated
2
lib/autobuild-action.js
generated
|
|
@ -34,7 +34,7 @@ async function run() {
|
|||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("autobuild", "starting", startedAt)))) {
|
||||
return;
|
||||
}
|
||||
const config = await config_utils.getConfig(actionsUtil.getRequiredEnvParam("RUNNER_TEMP"), logger);
|
||||
const config = await config_utils.getConfig(actionsUtil.getTemporaryDirectory(), logger);
|
||||
if (config === undefined) {
|
||||
throw new Error("Config file could not be found at expected location. Has the 'init' action been called?");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue