Switch manifest installation from "master" to "main" branch (#65)
Some checks failed
build-test / Run (ubuntu-latest) (push) Failing after 16s
build-test / Run (windows-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.12, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.12, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.13, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.13, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.14, macos-latest) (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.14, windows-latest) (push) Waiting to run
Validate 'setup-go' / Setup 1.12.16 macos-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.12.16 windows-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.13.11 macos-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.13.11 windows-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.14.3 macos-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.14.3 windows-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.7 macos-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.7 windows-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.8.6 macos-latest (push) Waiting to run
Validate 'setup-go' / Setup 1.8.6 windows-latest (push) Waiting to run
Validate 'setup-go' / Setup local-cache version (1.12, ubuntu-latest) (push) Successful in 7s
Validate 'setup-go' / Setup local-cache version (1.13, ubuntu-latest) (push) Successful in 4s
Validate 'setup-go' / Setup local-cache version (1.14, ubuntu-latest) (push) Successful in 6s
Validate 'setup-go' / Setup 1.12.16 ubuntu-latest (push) Successful in 5s
Validate 'setup-go' / Setup 1.13.11 ubuntu-latest (push) Successful in 5s
Validate 'setup-go' / Setup 1.14.3 ubuntu-latest (push) Successful in 4s
Validate 'setup-go' / Setup 1.7 ubuntu-latest (push) Failing after 2m21s
Validate 'setup-go' / Setup 1.8.6 ubuntu-latest (push) Failing after 2m19s

* switch from master to main branch

* Update README.md
This commit is contained in:
Maxim Lobanov
2020-07-20 19:50:40 +03:00
committed by GitHub
parent 1616116e1b
commit d0c5defdf3
3 changed files with 9 additions and 2 deletions

View File

@@ -140,7 +140,12 @@ export async function getInfoFromManifest(
auth: string | undefined
): Promise<IGoVersionInfo | null> {
let info: IGoVersionInfo | null = null;
const releases = await tc.getManifestFromRepo('actions', 'go-versions', auth);
const releases = await tc.getManifestFromRepo(
'actions',
'go-versions',
auth,
'main'
);
core.info(`matching ${versionSpec}...`);
const rel = await tc.findFromManifest(versionSpec, stable, releases);