Merge pull request #396 from akv-platform/v-sedoli/issue-241

Add warning if python version set to empty value
This commit is contained in:
Marko Zivic authored and GitHub committed 2022-05-04 15:21:43 +02:00
commit fd8f0a9fb8
2 files changed
+7

No files matched your search

+3
View File
@@ -6112,6 +6112,9 @@ function run() {
yield cacheDependencies(cache, pythonVersion);
}
}
else {
core.warning('The `python-version` input is not set. The version of Python currently in `PATH` will be used.');
}
const matchersPath = path.join(__dirname, '../..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
}
+4
View File
@@ -53,6 +53,10 @@ async function run() {
if (cache && isCacheFeatureAvailable()) {
await cacheDependencies(cache, pythonVersion);
}
} else {
core.warning(
'The `python-version` input is not set. The version of Python currently in `PATH` will be used.'
);
}
const matchersPath = path.join(__dirname, '../..', '.github');
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);