mirror of
https://github.com/actions/setup-go.git
synced 2025-05-04 14:14:34 +00:00
add warning if go-version is empty (#350)
This commit is contained in:
@ -54,6 +54,10 @@ export async function run() {
|
||||
const added = await addBinToPath();
|
||||
core.debug(`add bin ${added}`);
|
||||
core.info(`Successfully set up Go version ${versionSpec}`);
|
||||
} else {
|
||||
core.info(
|
||||
'[warning]go-version input was not specified. The action will try to use pre-installed version.'
|
||||
);
|
||||
}
|
||||
|
||||
const goPath = await io.which('go');
|
||||
|
Reference in New Issue
Block a user