Throw exe on empty python-version

This commit is contained in:
Sergey Dolin committed 2022-04-21 08:19:23 +05:00
1 parent 85a7430316
commit bcc31375e1
3 files changed
+31 -56

No files matched your search

+2
View File
@@ -53,6 +53,8 @@ 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')}`);