1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2025-04-09 18:35:51 +00:00

Switch from "master" to "main" branch

This commit is contained in:
Maxim Lobanov 2020-07-15 08:12:27 +03:00
parent 1ae8f4b1fd
commit 1bc77dd6f9
2 changed files with 3 additions and 2 deletions

2
dist/index.js vendored
View file

@ -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 = {};

View file

@ -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);