Skip to content

Commit ac4e858

Browse files
committed
Add warning if python version set to empty value
1 parent c36dc43 commit ac4e858

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/setup-python.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ async function run() {
5353
if (cache && isCacheFeatureAvailable()) {
5454
await cacheDependencies(cache, pythonVersion);
5555
}
56+
} else {
57+
core.warning(
58+
'python-version is empty, the OS native python will be used'
59+
);
5660
}
5761
const matchersPath = path.join(__dirname, '../..', '.github');
5862
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);

0 commit comments

Comments
 (0)