mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-19 21:04:45 +00:00
Pass the token input through on GHES (#595)
This commit is contained in:
parent
16352bb09b
commit
00e1b6691b
4 changed files with 19 additions and 4 deletions
|
@ -33,7 +33,7 @@ export async function run() {
|
|||
|
||||
if (version) {
|
||||
let token = core.getInput('token');
|
||||
let auth = !token || isGhes() ? undefined : `token ${token}`;
|
||||
let auth = !token ? undefined : `token ${token}`;
|
||||
let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE';
|
||||
const checkLatest =
|
||||
(core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue