mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
revert error
This commit is contained in:
parent
e12ee45a23
commit
9862b0d6ac
2 changed files with 5 additions and 0 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -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')}`);
|
||||
}
|
||||
|
|
|
@ -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
Reference in a new issue