Don't warn on no version found in pyproject.toml (#209)

This commit is contained in:
Kevin Stillhammer
2025-08-21 11:31:37 +02:00
committed by GitHub
parent 74b1866cee
commit 6d8460e4e6
2 changed files with 2 additions and 2 deletions
Generated Vendored
+1 -1
View File
@@ -31840,7 +31840,7 @@ async function determineVersion() {
}
const versionFromPyproject = (0, pyproject_1.getRuffVersionFromRequirementsFile)(pyProjectPath);
if (versionFromPyproject === undefined) {
core.warning(`Could not parse version from ${pyProjectPath}. Using latest version.`);
core.info(`Could not parse version from ${pyProjectPath}. Using latest version.`);
}
return await (0, download_version_1.resolveVersion)(versionFromPyproject || "latest", inputs_1.githubToken);
}