mirror of
https://github.com/actions/setup-node.git
synced 2024-11-10 04:18:24 +08:00
back to master
This commit is contained in:
parent
2a0fbec10d
commit
2ae9264901
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 New Issue
Block a user