mirror of
https://github.com/actions/setup-go.git
synced 2026-06-28 10:45:07 +00:00
Merge 16c5d19d3e into e91cc3bfe0
This commit is contained in:
commit
afba3036e7
6 changed files with 67 additions and 1 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
|
@ -52621,6 +52621,9 @@ function resolveVersionInput() {
|
|||
}
|
||||
version = installer.parseGoVersionFile(versionFilePath);
|
||||
}
|
||||
if (!version && fs_1.default.existsSync('go.mod')) {
|
||||
version = installer.parseGoVersionFile('go.mod');
|
||||
}
|
||||
return version;
|
||||
}
|
||||
function setGoToolchain() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue