mirror of https://github.com/actions/setup-python
Set fallback location in tests
This commit is contained in:
parent
145e800d1f
commit
ee2b5c67ae
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue