mirror of
https://github.com/actions/checkout.git
synced 2025-04-20 01:26:46 +00:00
Reference support
* Add support for reference repository parameter --------- Co-authored-by: Diego Dompe <ddompe@gmail.com>
This commit is contained in:
parent
b4ffde65f4
commit
65f77605c0
10 changed files with 71 additions and 1 deletions
|
@ -762,6 +762,7 @@ async function setup(testName: string): Promise<void> {
|
|||
lfsInstall: jest.fn(),
|
||||
log1: jest.fn(),
|
||||
remoteAdd: jest.fn(),
|
||||
referenceAdd: jest.fn(),
|
||||
removeEnvironmentVariable: jest.fn((name: string) => delete git.env[name]),
|
||||
revParse: jest.fn(),
|
||||
setEnvironmentVariable: jest.fn((name: string, value: string) => {
|
||||
|
@ -821,7 +822,8 @@ async function setup(testName: string): Promise<void> {
|
|||
sshStrict: true,
|
||||
workflowOrganizationId: 123456,
|
||||
setSafeDirectory: true,
|
||||
githubServerUrl: githubServerUrl
|
||||
githubServerUrl: githubServerUrl,
|
||||
reference: '/some/path'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue