revert error

This commit is contained in:
Dmitry Shibanov 2022-04-21 10:47:11 +02:00
parent e12ee45a23
commit 9862b0d6ac
2 changed files with 5 additions and 0 deletions

3
dist/setup/index.js vendored
View file

@ -6112,6 +6112,9 @@ function run() {
yield 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')}`);
}

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')}`);