diff --git a/lib/setup.js b/lib/setup.js index 8b7dcd9..1fb839e 100644 --- a/lib/setup.js +++ b/lib/setup.js @@ -170,7 +170,7 @@ async function installUsingNativeInstaller(inputVersion) { const latestVersion = await getLatestReleaseTag("aws/aws-sam-cli"); // Must be full semantic version; downloads version directly from GitHub if (latestVersion && !isSemver(latestVersion)) { - core.setFailed("Latest version found must be in the format x.y.z"); + core.info("Fetched version is not in the format x.y.z. Use latest version without caching."); return ""; } version = latestVersion;