Skip to content

CI failing after Actions upgrade to pwsh 7.4.0 #166

@Arlodotexe

Description

@Arlodotexe

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.

image

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

image

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 @arguments

Metadata

Metadata

Assignees

Labels

CI/pipeline 🔬dev loop ➰For issues that impact the core dev-loop of building experimentsregressionWhat was working is now broke

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions