Skip to content

Commit 30d11b2

Browse files
crumplecupCopilot
andcommitted
ci: fix RUSTDOCFLAGS syntax for Windows PowerShell
Inline env var assignment (VAR=val cmd) is bash syntax only. PowerShell rejects it. Use the step-level env: block instead, which GitHub Actions handles cross-platform. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8a18108 commit 30d11b2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ jobs:
6060
run: cargo clippy --workspace --all-targets ${{ matrix.extra_exclude }} -- -D warnings
6161

6262
- name: Doc check
63-
run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps ${{ matrix.extra_exclude }}
63+
env:
64+
RUSTDOCFLAGS: "-D warnings"
65+
run: cargo doc --workspace --no-deps ${{ matrix.extra_exclude }}
6466

6567
# Ubuntu only: test elicitation_derive (fast, no heavy deps).
6668
test-derive:

0 commit comments

Comments
 (0)