Skip to content

Commit 74099fc

Browse files
Kaleidosiumpigpigyyy
authored andcommitted
Add cache hit condition
1 parent f9e8338 commit 74099fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
uses: actions/checkout@v6
2424

2525
- name: Cache Emscripten
26+
id: cache-emsdk
2627
uses: actions/cache@v4
2728
with:
2829
path: ~/emsdk
2930
key: emsdk-${{ runner.os }}-latest
3031

3132
- name: Install Emscripten
33+
if: steps.cache-emsdk.outputs.cache-hit != 'true'
3234
run: |
3335
git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
3436
~/emsdk/emsdk install latest

0 commit comments

Comments
 (0)