Skip to content

Commit e5bb0da

Browse files
Fix hello-world example (#216)
1 parent a3558d0 commit e5bb0da

File tree

4 files changed

+284
-261
lines changed

4 files changed

+284
-261
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: Get StarlingMonkey Commit
8686
id: starlingmonkey-commit
8787
run: echo "STARLINGMONKEY_HASH=$(git submodule status | head -c9 | tail -c8)" >> "$GITHUB_OUTPUT"
88-
88+
8989
- uses: actions/cache@v4
9090
id: starlingmonkey-build
9191
with:
@@ -202,8 +202,10 @@ jobs:
202202
- name: Cache Example build
203203
uses: actions/cache@v4
204204
with:
205-
path: examples/target
206-
key: example-jit-cargo-${{ hashFiles('examples/src/main.rs', 'examples/Cargo.lock', 'examples/hello.wit') }}
205+
path: 'examples/hello-world/host/target/release/wasmtime-test*'
206+
key: example-hello-world-cargo-${{ hashFiles('examples/hello-world/host/src/main.rs',
207+
'examples/hello-world/host/Cargo.lock',
208+
'examples/hello-world/guest/hello.wit') }}
207209

208210
- name: Test Example
209211
run: |

0 commit comments

Comments
 (0)