From 5b17eb7cb0af08bdc8ae1f24b7d97116cff6501c Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Tue, 28 May 2024 13:26:14 -0700 Subject: [PATCH] fix bug w/ private-signing input (#77) Signed-off-by: Brian DeHamer --- dist/index.js | 2 +- src/index.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8e9a9db..5a8739b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -80013,7 +80013,7 @@ const inputs = { pushToRegistry: core.getBooleanInput('push-to-registry'), githubToken: core.getInput('github-token'), // undocumented -- not part of public interface - privateSigning: core.getBooleanInput('private-signing'), + privateSigning: ['true', 'True', 'TRUE', '1'].includes(core.getInput('private-signing')), // internal only batchSize: DEFAULT_BATCH_SIZE, batchDelay: DEFAULT_BATCH_DELAY diff --git a/src/index.ts b/src/index.ts index 8954df7..2a546f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,9 @@ const inputs: RunInputs = { pushToRegistry: core.getBooleanInput('push-to-registry'), githubToken: core.getInput('github-token'), // undocumented -- not part of public interface - privateSigning: core.getBooleanInput('private-signing'), + privateSigning: ['true', 'True', 'TRUE', '1'].includes( + core.getInput('private-signing') + ), // internal only batchSize: DEFAULT_BATCH_SIZE, batchDelay: DEFAULT_BATCH_DELAY