mirror of
https://github.com/actions/setup-python.git
synced 2025-06-08 14:37:00 +09:00
Throw exe on empty python-version
This commit is contained in:
parent
85a7430316
commit
bcc31375e1
3 changed files with 31 additions and 56 deletions
|
@ -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')}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue