File tree 5 files changed +491
-372
lines changed
5 files changed +491
-372
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,15 @@ jobs:
41
41
with :
42
42
path : pandocs
43
43
44
+ - name : Cache Rust build dir
45
+ uses : Swatinem/rust-cache@v2
46
+ with :
47
+ workspaces : pandocs/target/
48
+
44
49
- name : Install mdbook
45
- uses : peaceiris/actions-mdbook@v1
50
+ uses : peaceiris/actions-mdbook@v2
46
51
with :
47
- mdbook-version : 0.4.33
52
+ mdbook-version : 0.4.40
48
53
49
54
- name : Install static-sitemap-cli
50
55
run : npm install static-sitemap-cli
61
66
python -m pip install --upgrade pip
62
67
pip install -r pandocs/requirements.txt
63
68
64
- - name : Cache build dir
65
- uses : actions/cache@v3
66
- with :
67
- path : pandocs/target/
68
- key : ${{ runner.os }}-build-${{ hashFiles('pandocs/Cargo.lock') }}
69
- restore-keys : |
70
- ${{ runner.os }}-build-
71
-
72
69
- name : Build
73
70
working-directory : pandocs/
74
71
env :
You can’t perform that action at this time.
0 commit comments