diff --git a/dist/setup/index.js b/dist/setup/index.js index 43d4cfbb..f4394233 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -65275,6 +65275,7 @@ function resolveVersionInput() { throw new Error(`The specified python version file at: ${versionFile} does not exist.`); } if (fs_1.default.existsSync(defaultVersionFile)) { + core.warning(`The specified python version file at: ${versionFile} does not exist. Attempting to find ${defaultVersionFile} file.`); versionFile = defaultVersionFile; } else { diff --git a/src/setup-python.ts b/src/setup-python.ts index fea50e13..c4db766f 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -47,6 +47,9 @@ function resolveVersionInput(): string { } if (fs.existsSync(defaultVersionFile)) { + core.warning( + `The specified python version file at: ${versionFile} does not exist. Attempting to find ${defaultVersionFile} file.` + ); versionFile = defaultVersionFile; } else { throw new Error(