-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Originally posted in actions/runner-images#9259
Description
The runner image in our CI is being updated to 20240126.1.0, and has introduced an unexpected change in behavior from the previous version 20240122.3.0.
Quotes are being included and escaped where they weren't before, with no changes except for the runner image being updated.
The code which generates the command being run is found here, and does not behave consistently between these two runner images.
Image version and build link
Failing under runner image 20240126.1.0: https://github.com/CommunityToolkit/Windows/actions/runs/7716374360/job/21033016594
No failure under runner image 20240122.3.0: https://github.com/CommunityToolkit/Windows/actions/runs/7716461243/job/21033317974?pr=328
Repro steps
Should be reproducible by invoking a PowerShell command built similar to this:
$cmd = 'dotnet'
$arguments = @(
$sdkoptions
'tool'
'run'
'slngen'
'-o'
$generatedSolutionFilePath
$slngenConfig
$diagnostics
'--platform'
$platforms
$projects
)
Write-Output "Running Command: $cmd $arguments"
&$cmd @argumentsMetadata
Metadata
Assignees
Labels
Type
Projects
Status

