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:
parent
1ae8f4b1fd
commit
1bc77dd6f9
2 changed files with 3 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -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 = {};
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue