File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,13 +137,13 @@ jobs:
137137 # Run the CI pipeline
138138 $versionBump = "${{ github.event.inputs.version-bump }}"
139139
140- # Build the command - only add --version-bump if explicitly set (for backward compatibility during bootstrap)
141- $command = "ci --workspace ` "${{ github.workspace }}`" --verbose"
140+ # Build arguments array - only add --version-bump if explicitly set (for backward compatibility during bootstrap)
141+ $args = @( "ci", " --workspace", "${{ github.workspace }}", " --verbose")
142142 if (![string]::IsNullOrEmpty($versionBump) -and $versionBump -ne "auto") {
143- $command += " --version-bump $versionBump"
143+ $args += @(" --version-bump", $versionBump)
144144 }
145145
146- dotnet run --project "${{ runner.temp }}/KtsuBuild/KtsuBuild.CLI" -- $command
146+ & dotnet run --project "${{ runner.temp }}/KtsuBuild/KtsuBuild.CLI" -- @args
147147
148148 # Set outputs for downstream jobs
149149 $version = (Get-Content "${{ github.workspace }}/VERSION.md" -Raw).Trim()
You can’t perform that action at this time.
0 commit comments