1
0
Fork 0
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:
Bryan MacFarlane 2020-05-04 12:44:15 -04:00
parent 2a0fbec10d
commit 2ae9264901
2 changed files with 2 additions and 4 deletions

3
dist/index.js vendored
View file

@ -13055,8 +13055,7 @@ exports.getNode = getNode;
function getInfoFromManifest(versionSpec, stable, token) { function getInfoFromManifest(versionSpec, stable, token) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
let info = null; 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}...`); console.log(`matching ${versionSpec}...`);
const rel = yield tc.findFromManifest(versionSpec, stable, releases); const rel = yield tc.findFromManifest(versionSpec, stable, releases);
if (rel && rel.files.length > 0) { if (rel && rel.files.length > 0) {

View file

@ -123,8 +123,7 @@ async function getInfoFromManifest(
const releases = await tc.getManifestFromRepo( const releases = await tc.getManifestFromRepo(
'actions', 'actions',
'node-versions', 'node-versions',
token, token
'update-versions-manifest-file' // TODO: remove after testing
); );
console.log(`matching ${versionSpec}...`); console.log(`matching ${versionSpec}...`);
const rel = await tc.findFromManifest(versionSpec, stable, releases); const rel = await tc.findFromManifest(versionSpec, stable, releases);