mirror of
https://github.com/actions/setup-node.git
synced 2026-12-02 12:20:37 +08:00
feat: add allow-alpha input for Node.js alpha releases (#1674)
This commit is contained in:
@@ -47,9 +47,12 @@ export async function run() {
|
||||
(core.getInput('stable') || 'true').toUpperCase() === 'TRUE';
|
||||
const checkLatest =
|
||||
(core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE';
|
||||
const allowAlpha =
|
||||
(core.getInput('allow-alpha') || 'false').toUpperCase() === 'TRUE';
|
||||
const nodejsInfo = {
|
||||
versionSpec: version,
|
||||
checkLatest,
|
||||
allowAlpha,
|
||||
auth,
|
||||
stable,
|
||||
arch,
|
||||
|
||||
Reference in New Issue
Block a user