Skip to content

Commit 9925405

Browse files
committed
Solve inability to find n2 on windows.
1 parent 33d26a5 commit 9925405

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ runs:
8989
shell: bash
9090
run: echo "UV_BINARY=${{ steps.setup-uv.outputs.uv-path }}" >> "$GITHUB_ENV"
9191

92+
# Ensure cargo-installed tools like n2 are discoverable.
93+
- name: Add CARGO_HOME/bin to PATH
94+
shell: bash
95+
run: echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> "$GITHUB_PATH"
96+
9297
- name: Install n2
9398
shell: bash
9499
run: |

0 commit comments

Comments
 (0)