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 @@ -63609,6 +63609,9 @@ function run() {
63609
63609
core.debug(`add bin ${added}`);
63610
63610
core.info(`Successfully set up Go version ${versionSpec}`);
63611
63611
}
63612
+ else {
63613
+ core.info('[warning]go-version input was not specified. The action will try to use pre-installed version.');
63614
+ }
63612
63615
const goPath = yield io.which('go');
63613
63616
const goVersion = (child_process_1.default.execSync(`${goPath} version`) || '').toString();
63614
63617
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ export async function run() {
54
54
const added = await addBinToPath ( ) ;
55
55
core . debug ( `add bin ${ added } ` ) ;
56
56
core . info ( `Successfully set up Go version ${ versionSpec } ` ) ;
57
+ } else {
58
+ core . info (
59
+ '[warning]go-version input was not specified. The action will try to use pre-installed version.'
60
+ ) ;
57
61
}
58
62
59
63
const goPath = await io . which ( 'go' ) ;
You can’t perform that action at this time.
0 commit comments