mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 06:48:20 +02: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
1 changed files with 1 additions and 2 deletions
|
@ -25,8 +25,7 @@ export async function cacheDependencies(cache: string, pythonVersion: string) {
|
||||||
const cacheDependencyPath =
|
const cacheDependencyPath =
|
||||||
core.getInput('cache-dependency-path') || undefined;
|
core.getInput('cache-dependency-path') || undefined;
|
||||||
let resolvedDependencyPath: string | undefined = undefined;
|
let resolvedDependencyPath: string | undefined = undefined;
|
||||||
const overwrite =
|
const overwrite = core.getBooleanInput('overwrite', {required: false});
|
||||||
core.getBooleanInput('overwrite', {required: false}) ?? false;
|
|
||||||
|
|
||||||
if (cacheDependencyPath) {
|
if (cacheDependencyPath) {
|
||||||
const actionPath = process.env.GITHUB_ACTION_PATH || '';
|
const actionPath = process.env.GITHUB_ACTION_PATH || '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue