Skip to content

Commit 14e00af

Browse files
Copilotspacemeowx2
andcommitted
Refine docs schema generation step
Co-authored-by: spacemeowx2 <8019167+spacemeowx2@users.noreply.github.com>
1 parent 784a5b6 commit 14e00af

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
fetch-depth: 0
1515
submodules: recursive
1616
- name: Setup Rust toolchain
17-
uses: actions-rs/toolchain@v1
18-
with:
19-
toolchain: stable
20-
override: true
17+
uses: dtolnay/rust-toolchain@stable
2118
- uses: pnpm/action-setup@v4
2219
with:
2320
version: 9
@@ -33,7 +30,7 @@ jobs:
3330
pnpm install --frozen-lockfile
3431
- name: Generate schema for docs
3532
run: |
36-
cargo run -- generate-schema /tmp/rabbit-digger-pro-schema.json
33+
cargo run --release -- generate-schema /tmp/rabbit-digger-pro-schema.json
3734
mkdir -p docs/static/schema
3835
cp /tmp/rabbit-digger-pro-schema.json docs/static/schema/rabbit-digger-pro-schema.json
3936
- name: Build website

0 commit comments

Comments
 (0)