mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-26 22:09:55 +02:00
add input persist-credentials (#107)
This commit is contained in:
parent
a572f640b0
commit
c170eefc26
9 changed files with 149 additions and 128 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue