mirror of
https://github.com/actions/checkout.git
synced 2026-01-20 15:48:55 +08:00
Add workingDirectory option
Let user override $GITHUB_WORKSPACE as default working directory Defaults to undefined, the original behaviour is maintained
This commit is contained in:
parent
8459bc0c7e
commit
0fd0fa4fd4
4 changed files with 27 additions and 21 deletions
|
|
@ -118,4 +118,9 @@ export interface IGitSourceSettings {
|
|||
* User override on the GitHub Server/Host URL that hosts the repository to be cloned
|
||||
*/
|
||||
githubServerUrl: string | undefined
|
||||
|
||||
/**
|
||||
* User override of the working directory (default is $GITHUB_WORKSPACE)
|
||||
*/
|
||||
workingDirectory: string | undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue