Skip to content

Commit 33db938

Browse files
author
Jake Champion
committed
chore: add wasm-tools to release-please workflow
1 parent 263fb46 commit 33db938

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ jobs:
8585
- uses: ./.github/actions/install-rust
8686
with:
8787
path: c-dependencies
88+
89+
- name: Restore wasm-tools from cache
90+
uses: actions/cache@v3
91+
id: wasm-tools
92+
with:
93+
path: "/home/runner/.cargo/bin/wasm-tools"
94+
key: crate-cache-wasm-tools-${{ env.wasm-tools_version }}
95+
96+
- name: "Check wasm-tools has been restored"
97+
if: steps.wasm-tools.outputs.cache-hit != 'true'
98+
run: |
99+
echo "wasm-tools was not restored from the cache"
100+
echo "bailing out from the build early"
101+
exit 1
88102
89103
- name: Cache SpiderMonkey object files
90104
uses: actions/cache@v2

0 commit comments

Comments
 (0)