diff --git a/dist/index.js b/dist/index.js index 93c2d649..481183ea 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13110,7 +13110,7 @@ exports.getNode = getNode; function getInfoFromManifest(versionSpec, stable, auth) { return __awaiter(this, void 0, void 0, function* () { let info = null; - const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth); + const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth, 'main'); const rel = yield tc.findFromManifest(versionSpec, stable, releases); if (rel && rel.files.length > 0) { info = {}; diff --git a/src/installer.ts b/src/installer.ts index d9c3f9e6..feb8349c 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -164,7 +164,8 @@ async function getInfoFromManifest( const releases = await tc.getManifestFromRepo( 'actions', 'node-versions', - auth + auth, + 'main' ); const rel = await tc.findFromManifest(versionSpec, stable, releases);