diff --git a/src/setup-python.ts b/src/setup-python.ts index 6b3ae1da..62c76dba 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -53,8 +53,6 @@ async function run() { if (cache && isCacheFeatureAvailable()) { await cacheDependencies(cache, pythonVersion); } - } else { - throw new Error("there's empty python-version input"); } const matchersPath = path.join(__dirname, '../..', '.github'); core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);