mirror of
https://github.com/actions/setup-go.git
synced 2026-10-17 04:37:52 +02:00
Switch manifest installation from "master" to "main" branch (#65)
* switch from master to main branch * Update README.md
This commit is contained in:
1 parent
1616116e1b
commit
d0c5defdf3
3 files changed
+9
-2
No files matched your search
+6
-1
@@ -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