Some time in the past two weeks the Windows/powershell executors stopped applying the PATH specified in the registry.
I first noticed the issue in the job https://app.circleci.com/pipelines/github/pingbird/puro/354/workflows/bcc4a93c-c723-4ca2-bfde-83317a16e548/jobs/1493 where Chocolatey adds C:\tools\dart-sdk\bin
in the “Install Dart” step but the dart
executable can no longer be found.
To make sure this isn’t just an issue with Chocolatey I added it manually with [Environment]::SetEnvironmentVariable
to no avail at https://app.circleci.com/pipelines/github/pingbird/puro/360/workflows/79e12893-a7b0-4e16-a3d5-58dd17809c60/jobs/1517 (click “show more” in the “Install Dart” step to see the commands) and note that echo $env:path
does not print the folder.
Re-running my last successful build https://app.circleci.com/pipelines/github/pingbird/puro/353/workflows/6f681975-719e-4425-ae0d-f0cc327de926/jobs/1485 shows the same error as the new commits in https://app.circleci.com/pipelines/github/pingbird/puro/353/workflows/0ad45fb4-0748-47ea-9d35-069dbf698883/jobs/1527 and nothing else on my end has changed since then.