mirror of
https://forgejo.mixinet.net/actions/checkout.git
synced 2025-06-15 14:50:45 -06:00
Use git-credential-store instead of .extraheader
This commit is contained in:
parent
b80ff79f17
commit
6606fcd2c4
7 changed files with 133 additions and 96 deletions
|
@ -25,6 +25,11 @@ export const SshKeyPath = core.getState('sshKeyPath')
|
|||
*/
|
||||
export const SshKnownHostsPath = core.getState('sshKnownHostsPath')
|
||||
|
||||
/**
|
||||
* The credential store path for git-credential-store
|
||||
*/
|
||||
export const CredentialStorePath = core.getState('credentialStorePath')
|
||||
|
||||
/**
|
||||
* Save the repository path so the POST action can retrieve the value.
|
||||
*/
|
||||
|
@ -58,3 +63,10 @@ export function setSafeDirectory() {
|
|||
if (!IsPost) {
|
||||
core.saveState('isPost', 'true')
|
||||
}
|
||||
|
||||
/**
|
||||
* Save the credential store path so the POST action can retrieve the value.
|
||||
*/
|
||||
export function setCredentialStorePath(credentialStorePath: string) {
|
||||
core.saveState('credentialStorePath', credentialStorePath)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue