1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

cache the mdbook binary itself

This commit is contained in:
Wez Furlong 2019-12-29 22:35:13 -08:00
parent fdf4c4ca3f
commit eb3588726c

View File

@ -23,11 +23,11 @@ jobs:
with:
path: ~/.cargo/registry
key: cargo-registry-mdbook
- name: Cache cargo index
- name: Cache mdBook
uses: actions/cache@v1
with:
path: ~/.cargo/git
key: cargo-index-mdbook
path: ~/.cargo/bin/mdbook
key: cargo-bin-mdbook
- name: Install mdBook
run: |
(test -x $HOME/.cargo/bin/mdbook || (cd && cargo install --vers "^0.3" mdbook))