|
|
|
@ -2,7 +2,7 @@ using module "./base-parser.psm1"
|
|
|
|
|
|
|
|
|
|
class GoVersionsParser: BaseVersionsParser {
|
|
|
|
|
[SemVer[]] GetUploadedVersions() {
|
|
|
|
|
$url = $this.BuildGitHubFileUrl("actions", "go-versions", "main", "versions-manifest.json")
|
|
|
|
|
$url = $this.BuildGitHubFileUrl("nikita-bykov", "go-versions", "move-get-go-version", "versions-manifest.json")
|
|
|
|
|
$releases = Invoke-RestMethod $url -MaximumRetryCount $this.ApiRetryCount -RetryIntervalSec $this.ApiRetryIntervalSeconds
|
|
|
|
|
return $releases.version
|
|
|
|
|
}
|
|
|
|
|