Skip to content

CI failing after Actions upgrade to pwsh 7.4.0 #166

Closed

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

Activity

  1. added
    dev loop ➰
    regression
    on Jan 30, 2024
  2. self-assigned this
    on Jan 30, 2024
  3. moved this to 🏗 In progress in Toolkit 8.xon Jan 30, 2024
  4. moved this from 🏗 In progress to ✅ Done in Toolkit 8.xon Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CI/pipeline 🔬dev loop ➰regression

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions