mirror of
https://git.mirrors.martin98.com/https://github.com/actions/setup-python
synced 2025-08-17 23:05:52 +08:00
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…
x
Reference in New Issue
Block a user