Skip to content

Commit 5082e31

Browse files
committed
chore: improve workflow
1 parent 4349a65 commit 5082e31

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ jobs:
2929
restore-keys: |
3030
${{ runner.os }}-turbo-
3131
32+
# Add Cargo cache for torii-wasm
33+
- name: Cache Cargo dependencies and build artifacts
34+
uses: actions/cache@v3
35+
with:
36+
path: |
37+
~/.cargo/registry
38+
~/.cargo/git
39+
packages/torii-wasm/dojo.c/target
40+
key: ${{ runner.os }}-cargo-${{ hashFiles('packages/torii-wasm/**/Cargo.lock') }}
41+
restore-keys: |
42+
${{ runner.os }}-cargo-
43+
3244
- name: Update Submodules
3345
run: git submodule update --init --recursive
3446

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
path: |
6767
~/.cargo/registry
6868
~/.cargo/git
69-
packages/torii-wasm/target
69+
packages/torii-wasm/dojo.c/target
7070
key: ${{ runner.os }}-cargo-${{ hashFiles('packages/torii-wasm/**/Cargo.lock') }}
7171
restore-keys: |
7272
${{ runner.os }}-cargo-

0 commit comments

Comments
 (0)