mirror of
https://github.com/actions/setup-node
synced 2024-12-23 13:42:42 +00:00
back to master
This commit is contained in:
parent
2a0fbec10d
commit
2ae9264901
2 changed files with 2 additions and 4 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -13055,8 +13055,7 @@ exports.getNode = getNode;
|
|||
function getInfoFromManifest(versionSpec, stable, token) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
let info = null;
|
||||
const releases = yield tc.getManifestFromRepo('actions', 'node-versions', token, 'update-versions-manifest-file' // TODO: remove after testing
|
||||
);
|
||||
const releases = yield tc.getManifestFromRepo('actions', 'node-versions', token);
|
||||
console.log(`matching ${versionSpec}...`);
|
||||
const rel = yield tc.findFromManifest(versionSpec, stable, releases);
|
||||
if (rel && rel.files.length > 0) {
|
||||
|
|
|
@ -123,8 +123,7 @@ async function getInfoFromManifest(
|
|||
const releases = await tc.getManifestFromRepo(
|
||||
'actions',
|
||||
'node-versions',
|
||||
token,
|
||||
'update-versions-manifest-file' // TODO: remove after testing
|
||||
token
|
||||
);
|
||||
console.log(`matching ${versionSpec}...`);
|
||||
const rel = await tc.findFromManifest(versionSpec, stable, releases);
|
||||
|
|
Loading…
Reference in a new issue