Skip to content

Also look at $RUNNER_TOOL_CACHE for finding the tool cache directory #71

@brcrista

Description

@brcrista

See this code: https://github.com/actions/runner/blob/6bec1e3bb832aad26f4ad5b64759a8e4d468df24/src/Runner.Common/HostContext.cs#L233

The runner prefers RUNNER_TOOL_CACHE and then falls back to RUNNER_TOOLSDIRECTORY. setup-python only uses the latter:

let cacheDirectory = process.env['RUNNER_TOOLSDIRECTORY'] || '';

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions