Skip to content

Commit

Permalink
Update Rust nightly version to build docs. (#1763)
Browse files Browse the repository at this point in the history
Skip building the wasm runtime during docs build.
  • Loading branch information
Neopallium authored Dec 6, 2024
1 parent 1d9764a commit 258e9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-12-11
toolchain: nightly-2024-11-14
target: wasm32-unknown-unknown
override: true
default: true
Expand All @@ -31,7 +31,7 @@ jobs:
run: sudo apt-get install -y protobuf-compiler

- name: Build docs
run: BUILD_DUMMY_WASM_BINARY=1 cargo doc --no-deps --workspace --release --exclude node-bench --exclude node-executor --exclude node-testing --exclude crypto-cli
run: SKIP_WASM_BUILD=1 cargo doc --no-deps --workspace --release --exclude node-bench --exclude node-executor --exclude node-testing --exclude crypto-cli

- name: Add index file
run: echo "<html lang='en'><head><meta http-equiv='refresh' content='0; URL=./polymesh/index.html'></head></html>" > ./target/doc/index.html
Expand Down

0 comments on commit 258e9fc

Please sign in to comment.