New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prioritize RUNNER_TOOL_CACHE over AGENT_TOOLSDIRECTORY #824
Comments
Hello @brendanhaines |
Hello @brendanhaines 👋, |
Hello @brendanhaines 👋, |
Hello @brendanhaines👋, |
Hello, |
Description:
When
RUNNER_TOOL_CACHE
andAGENT_TOOLSDIRECTORY
are both specified,AGENT_TOOLSDIRECTORY
is used instead ofRUNNER_TOOL_CACHE
(a default environment variable)setup-python/src/setup-python.ts
Line 85 in 871daa9
Action version:
v5
Platform:
Runner type:
Tools version:
all
Repro steps:
Define
AGENT_TOOLSDIRECTORY
environment variable (whereAGENT_TOOLSDIRECTORY
!=RUNNER_TOOL_CACHE
)Expected behavior:
AGENT_TOOLSDIRECTORY
should be ignored and existing python binary in cache (path specified byRUNNER_TOOL_CACHE
) should be used.Actual behavior:
Binary cannot be found in cache since we look in the wrong location, resulting in it being re-downloaded.
The text was updated successfully, but these errors were encountered: