mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Printing versions for debug purposes
This commit is contained in:
parent
54cc82618b
commit
6115b0aebf
2 changed files with 4669 additions and 3 deletions
4670
package-lock.json
generated
4670
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -203,6 +203,8 @@ export async function findMatch(
|
||||||
let candidate: IGoVersion = candidates[i];
|
let candidate: IGoVersion = candidates[i];
|
||||||
let version = makeSemver(candidate.version);
|
let version = makeSemver(candidate.version);
|
||||||
|
|
||||||
|
core.info(`Candidate version: ${candidate.version}; Semver version: ${version}` )
|
||||||
|
|
||||||
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
||||||
// since a semver of 1.13 would match latest 1.13
|
// since a semver of 1.13 would match latest 1.13
|
||||||
let parts: string[] = version.split('.');
|
let parts: string[] = version.split('.');
|
||||||
|
|
Loading…
Add table
Reference in a new issue