Repository navigation
docs: Fix PowerShell custom shell example for GitHub Actions - #7423
Merged
lucascolley merged 2 commits intoNov 2, 2026
Merged
Conversation
1 task done
pavelzw
marked this pull request as ready for review
November 1, 2026 17:04
lucascolley
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes prefix-dev/setup-pixi#198, prefix-dev/setup-pixi#78
Summary: TODO (human-written summary)
AI-generated details:
shell: pixi run pwsh -Command {0}never runs the script. GitHub Actions only adds.ps1to the temporary script file when the shell command starts withpwsh. Without the extension,pwsh -Command <file>tries to start it as a native program, and .NET falls back to shell-execute (xdg-open). On most runners the step then passes without running anything, and on ubuntu-24.04-arm it errors.-File {0}fails on Windows because of the missing.ps1extension.Before:
After:
Verified on ubuntu x64/arm, macOS and Windows x64/arm in prefix-dev/setup-pixi#305 (tests now assert that the script actually ran and that failures propagate). Mirrors the README change there.
Checklist: