mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-03 10:51:09 +00:00
Merge pull request #311 from fitzgen/faster-mdbook-ci
ci: Cache mdbook installs to reduce CI build time
This commit is contained in:
commit
09cf02d41a
@ -69,7 +69,14 @@ matrix:
|
|||||||
|
|
||||||
# Build the guide.
|
# Build the guide.
|
||||||
- rust: stable
|
- rust: stable
|
||||||
script: (cd guide && cargo install mdbook --vers "^0.1.0" && mdbook build)
|
cache:
|
||||||
|
- cargo
|
||||||
|
before_script:
|
||||||
|
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
|
||||||
|
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
|
||||||
|
- cargo install-update -a
|
||||||
|
script:
|
||||||
|
- (cd guide && mdbook build)
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip-cleanup: true
|
skip-cleanup: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user