This commit is contained in:
Stephen Franceschelli
2019-07-15 14:26:50 -04:00
parent 7a5fe7d386
commit ea8812ffe3
7047 changed files with 1866386 additions and 95 deletions

View File

@@ -3,26 +3,8 @@ import fs = require('fs');
import os = require('os');
import path = require('path');
const toolDir = path.join(
process.cwd(),
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
'tools'
);
const tempDir = path.join(
process.cwd(),
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
'temp'
);
const toolDir = path.join(__dirname, 'runner', 'tools');
const tempDir = path.join(__dirname, 'runner', 'temp');
process.env['AGENT_TOOLSDIRECTORY'] = toolDir;
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;