From ca3a763d5ed9e04331c8a6aea85ddabcb3a6aa4d Mon Sep 17 00:00:00 2001 From: eric sciple Date: Thu, 12 Dec 2019 13:49:26 -0500 Subject: add input persist-credentials (#107) --- src/input-helper.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/input-helper.ts') diff --git a/src/input-helper.ts b/src/input-helper.ts index d7d8779..56b58f2 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -97,8 +97,12 @@ export function getInputs(): ISourceSettings { result.lfs = (core.getInput('lfs') || 'false').toUpperCase() === 'TRUE' core.debug(`lfs = ${result.lfs}`) - // Access token - result.accessToken = core.getInput('token') + // Auth token + result.authToken = core.getInput('token') + + // Persist credentials + result.persistCredentials = + (core.getInput('persist-credentials') || 'false').toUpperCase() === 'TRUE' return result } -- cgit v1.2.3