mirror of
https://github.com/actions/setup-go.git
synced 2025-05-22 02:22:24 +00:00
Switch manifest installation from "master" to "main" branch (#65)
* switch from master to main branch * Update README.md
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user