Skip to content

Fix PowerShell syntax in Windows build workflow#13

Merged
test1card merged 1 commit into
mainfrom
claude/review-repository-t4SWk
Feb 28, 2026
Merged

Fix PowerShell syntax in Windows build workflow#13
test1card merged 1 commit into
mainfrom
claude/review-repository-t4SWk

Conversation

@test1card

Copy link
Copy Markdown
Owner

Summary

Fixed PowerShell syntax errors in the Windows build workflow that would cause the release cleanup step to fail.

Key Changes

  • Changed 2>$null || true to 2>$null || $true to use proper PowerShell boolean syntax (the $true automatic variable instead of the bash true command)
  • Updated shell specification from powershell to pwsh for consistency with modern PowerShell Core usage

Details

The original syntax used true which is a bash command and not recognized in PowerShell. The corrected syntax uses $true, which is PowerShell's built-in boolean constant. The shell change from powershell to pwsh ensures the workflow uses PowerShell Core, which is the recommended shell for GitHub Actions on Windows runners.

https://claude.ai/code/session_015XDgrfp3HkuA7jyLE8gP5w

The || operator and 'true' are bash idioms that don't work in Windows
PowerShell 5.1 (shell: powershell). Switch to pwsh (PowerShell 7)
which supports the || pipeline chain operator, and replace bare 'true'
with '$true' (PowerShell boolean literal).

https://claude.ai/code/session_015XDgrfp3HkuA7jyLE8gP5w
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@test1card
test1card merged commit a2b9750 into main Feb 28, 2026
6 checks passed
@test1card
test1card deleted the claude/review-repository-t4SWk branch February 28, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants