1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-12-22 20:32:31 +00:00

Add warning if python version set to empty value

This commit is contained in:
Sergey Dolin 2022-04-29 09:14:59 +05:00
parent c36dc43e7b
commit ac4e858835

View file

@ -53,6 +53,10 @@ async function run() {
if (cache && isCacheFeatureAvailable()) {
await cacheDependencies(cache, pythonVersion);
}
} else {
core.warning(
'python-version is empty, the OS native python will be used'
);
}
const matchersPath = path.join(__dirname, '../..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);