Skip to content

Commit 8cee6a7

Browse files
authored
ci: Fix caching of zola build (#1646)
1 parent 6d82801 commit 8cee6a7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- run: rustup override set ${{ env.RUST_VERSION }}
3535
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
36+
with:
37+
workspaces: ".\nzola" # needed to cache build of zola in ./zola/target
3638

3739
- run: cargo zola build
3840
- run: cp CNAME ./public/

.github/workflows/snapshot_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
submodules: true
1717
- run: rustup override set ${{ env.RUST_VERSION }}
1818
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
19+
with:
20+
workspaces: ".\nzola" # needed to cache build of zola in ./zola/target
1921

2022
- run: git fetch --depth 2
2123
- run: git checkout origin/master

0 commit comments

Comments
 (0)