mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-28 04:54:58 -04:00
Merge 66a708659a into fba3fb4ead
This commit is contained in:
commit
6a935c3b74
6 changed files with 67 additions and 1 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
|
@ -100684,6 +100684,9 @@ function resolveVersionInput() {
|
|||
}
|
||||
version = parseGoVersionFile(versionFilePath);
|
||||
}
|
||||
if (!version && external_fs_default().existsSync('go.mod')) {
|
||||
version = parseGoVersionFile('go.mod');
|
||||
}
|
||||
return version;
|
||||
}
|
||||
function setGoToolchain() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue