mirror of
https://github.com/actions/setup-python.git
synced 2025-12-09 14:15:21 +00:00
Update src/setup-python.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
346f113b4e
commit
df266560b3
@ -25,8 +25,7 @@ export async function cacheDependencies(cache: string, pythonVersion: string) {
|
||||
const cacheDependencyPath =
|
||||
core.getInput('cache-dependency-path') || undefined;
|
||||
let resolvedDependencyPath: string | undefined = undefined;
|
||||
const overwrite =
|
||||
core.getBooleanInput('overwrite', {required: false}) ?? false;
|
||||
const overwrite = core.getBooleanInput('overwrite', {required: false});
|
||||
|
||||
if (cacheDependencyPath) {
|
||||
const actionPath = process.env.GITHUB_ACTION_PATH || '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user