Skip to content

Commit 88efce5

Browse files
SyncFileContentsSyncFileContents
authored andcommitted
Sync .github\workflows\dotnet.yml
1 parent ed0cc38 commit 88efce5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)