3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-22 01:59:34 +01:00

Set fallback location in tests

This commit is contained in:
Danny McCormick 2019-07-11 16:58:38 -04:00
parent 145e800d1f
commit ee2b5c67ae

View file

@ -24,6 +24,7 @@ const tempDir = path.join(
); );
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir; process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
process.env['AGENT_TOOLSDIRECTORY'] = toolDir;
process.env['RUNNER_TEMPDIRECTORY'] = tempDir; process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
import * as finder from '../src/find-python'; import * as finder from '../src/find-python';