mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
fixup! feat: set node-version action output
This commit is contained in:
parent
439cc13699
commit
5c741a4009
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -4651,7 +4651,7 @@ function run() {
|
||||||
const checkLatest = (core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE';
|
const checkLatest = (core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE';
|
||||||
yield installer.getNode(version, stable, checkLatest, auth);
|
yield installer.getNode(version, stable, checkLatest, auth);
|
||||||
}
|
}
|
||||||
// Output version of node and npm that are being used
|
// Output version of node is being used
|
||||||
let installedVersion = '';
|
let installedVersion = '';
|
||||||
yield exec.exec('node', ['--version'], {
|
yield exec.exec('node', ['--version'], {
|
||||||
listeners: {
|
listeners: {
|
||||||
|
|
|
@ -25,7 +25,7 @@ export async function run() {
|
||||||
await installer.getNode(version, stable, checkLatest, auth);
|
await installer.getNode(version, stable, checkLatest, auth);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Output version of node and npm that are being used
|
// Output version of node is being used
|
||||||
let installedVersion = '';
|
let installedVersion = '';
|
||||||
await exec.exec('node', ['--version'], {
|
await exec.exec('node', ['--version'], {
|
||||||
listeners: {
|
listeners: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue