Skip to content

Commit

Permalink
[TEST]
Browse files Browse the repository at this point in the history
  • Loading branch information
panticmilos committed Apr 4, 2022
1 parent 967eac4 commit c8de22c
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
@@ -6598,10 +6598,6 @@ function run() {
let version = resolveVersionInput();
let arch = core.getInput('architecture');
const cache = core.getInput('cache');
const nameToGreet = core.getInput('who-to-greet');
console.log(`Hello ${nameToGreet}!`);
const time = (new Date()).toTimeString();
core.setOutput("time", "30");
const payload = JSON.stringify(github_1.default.context.payload, undefined, 2);
console.log(`The event payload: ${payload}`);
// if architecture supplied but node-version is not
@@ -61240,6 +61236,7 @@ function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
if (info) {
core.info(`Acquiring ${info.resolvedVersion} - ${info.arch} from ${info.downloadUrl}`);
downloadPath = yield tc.downloadTool(info.downloadUrl, undefined, auth);
console.log("here bro 2");
}
else {
core.info('Not found in manifest. Falling back to download directly from Node');
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ export async function getNode(
`Acquiring ${info.resolvedVersion} - ${info.arch} from ${info.downloadUrl}`
);
downloadPath = await tc.downloadTool(info.downloadUrl, undefined, auth);
console.log("here bro");
console.log("here bro 2");
} else {
core.info(
'Not found in manifest. Falling back to download directly from Node'

0 comments on commit c8de22c

Please sign in to comment.