mirror of
https://github.com/actions/setup-node
synced 2026-12-05 04:53:10 +00:00
feat: add allow-alpha input for Node.js alpha releases (#1674)
This commit is contained in:
1 parent
66f83c8206
commit
387287a7d3
9 files changed
+330
-16
No files matched your search
@@ -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