File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -6112,6 +6112,9 @@ function run() {
6112
6112
yield cacheDependencies(cache, pythonVersion);
6113
6113
}
6114
6114
}
6115
+ else {
6116
+ core.warning('The `python-version` input is not set. The version of Python currently in `PATH` will be used.');
6117
+ }
6115
6118
const matchersPath = path.join(__dirname, '../..', '.github');
6116
6119
core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
6117
6120
}
Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ async function run() {
53
53
if ( cache && isCacheFeatureAvailable ( ) ) {
54
54
await cacheDependencies ( cache , pythonVersion ) ;
55
55
}
56
+ } else {
57
+ core . warning (
58
+ 'The `python-version` input is not set. The version of Python currently in `PATH` will be used.'
59
+ ) ;
56
60
}
57
61
const matchersPath = path . join ( __dirname , '../..' , '.github' ) ;
58
62
core . info ( `##[add-matcher]${ path . join ( matchersPath , 'python.json' ) } ` ) ;
You can’t perform that action at this time.
0 commit comments