add tempDir and toolCacheDir to config

This commit is contained in:
Robert Brignull 2020-08-19 15:11:49 +01:00
parent e9e2284547
commit 9c29fe283d
18 changed files with 156 additions and 114 deletions

2
lib/autobuild.js generated
View file

@ -30,7 +30,7 @@ async function run() {
if (!await util.sendStatusReport(await util.createStatusReportBase('autobuild', 'starting', startedAt), true)) {
return;
}
const config = await config_utils.getConfig();
const config = await config_utils.getConfig(util.getRequiredEnvParam('RUNNER_TEMP'));
// Attempt to find a language to autobuild
// We want pick the dominant language in the repo from the ones we're able to build
// The languages are sorted in order specified by user or by lines of code if we got