Skip to content

Commit c285c9b

Browse files
joseph-isaacsclaude
andcommitted
fix: Add PowerShell to PATH for Windows runner
The arduino/setup-protoc action requires PowerShell to be in the PATH on Windows. Add it explicitly for Windows runners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Joe Isaacs <[email protected]>
1 parent ac60bb3 commit c285c9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/setup-rust/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ runs:
5050
shell: bash
5151
run: echo "PATH=$PATH" >> $GITHUB_ENV
5252

53+
- name: Add PowerShell to PATH (Windows)
54+
if: runner.os == 'Windows'
55+
shell: bash
56+
run: echo "C:\Windows\System32\WindowsPowerShell\v1.0" >> $GITHUB_PATH
57+
5358
- name: Install Protoc (for lance-encoding build step)
5459
uses: arduino/setup-protoc@v3
5560
with:

0 commit comments

Comments
 (0)