New tool cache (#8)

* Consume new tool-cache

* Fix tests

* Fix workflow
This commit is contained in:
Danny McCormick authored and GitHub committed 2019-07-30 12:53:06 -04:00
1 parent 594da1d3f0
commit 1acab72798
27 files changed
+7706 -7705

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ import httpClient = require('typed-rest-client/HttpClient');
const toolDir = path.join(__dirname, 'runner', 'tools');
const tempDir = path.join(__dirname, 'runner', 'temp');
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
process.env['RUNNER_TOOL_CACHE'] = toolDir;
process.env['RUNNER_TEMP'] = tempDir;
import * as installer from '../src/installer';
const IS_WINDOWS = process.platform === 'win32';