Skip to content

Commit 7a759ea

Browse files
New-GitHubWorkflow: Propagating .RootDirectory into $WorkflowOptions.
1 parent 66a965b commit 7a759ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

New-GitHubWorkflow.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ function New-GitHubWorkflow {
133133

134134
#endregion Map Dynamic Input
135135

136+
if ($RootDirectory) { $workflowOptions.RootDirectory = $RootDirectory}
137+
136138
#region Expand Input
137139
$expandSplat = @{} + $PSBoundParameters
138140
foreach ($k in @($expandSplat.Keys)) {

0 commit comments

Comments
 (0)