File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -6112,6 +6112,9 @@ function run() {
61126112 yield cacheDependencies(cache, pythonVersion);
61136113 }
61146114 }
6115+ else {
6116+ core.warning('The `python-version` input is not set. The version of Python currently in `PATH` will be used.');
6117+ }
61156118 const matchersPath = path.join(__dirname, '../..', '.github');
61166119 core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
61176120 }
Original file line number Diff line number Diff 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+ 'The `python-version` input is not set. The version of Python currently in `PATH` will be used.'
59+ ) ;
5660 }
5761 const matchersPath = path . join ( __dirname , '../..' , '.github' ) ;
5862 core . info ( `##[add-matcher]${ path . join ( matchersPath , 'python.json' ) } ` ) ;
You can’t perform that action at this time.
0 commit comments