From 1bc77dd6f9adf5234b4f6b977a79ebd5ac8e047e Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 15 Jul 2020 08:12:27 +0300 Subject: [PATCH] Switch from "master" to "main" branch --- dist/index.js | 2 +- src/installer.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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);