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) {
|
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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue