mirror of
https://github.com/actions/setup-go.git
synced 2026-10-08 16:54:16 +03:00
add warning if go-version is empty (#350)
This commit is contained in:
1 parent
b27d76912e
commit
ebfdf6ac95
2 files changed
+7
No files matched your search
@@ -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