Update src/setup-python.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
aparnajyothi-y 2025-07-14 17:59:48 +05:30 committed by GitHub
parent 346f113b4e
commit df266560b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 || '';