diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/static.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 9e5ec0e..535c7b3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml | |||
| @@ -23,12 +23,14 @@ jobs: | |||
| 23 | uses: actions/checkout@v6 | 23 | uses: actions/checkout@v6 |
| 24 | 24 | ||
| 25 | - name: Cache Emscripten | 25 | - name: Cache Emscripten |
| 26 | id: cache-emsdk | ||
| 26 | uses: actions/cache@v4 | 27 | uses: actions/cache@v4 |
| 27 | with: | 28 | with: |
| 28 | path: ~/emsdk | 29 | path: ~/emsdk |
| 29 | key: emsdk-${{ runner.os }}-latest | 30 | key: emsdk-${{ runner.os }}-latest |
| 30 | 31 | ||
| 31 | - name: Install Emscripten | 32 | - name: Install Emscripten |
| 33 | if: steps.cache-emsdk.outputs.cache-hit != 'true' | ||
| 32 | run: | | 34 | run: | |
| 33 | git clone https://github.com/emscripten-core/emsdk.git ~/emsdk | 35 | git clone https://github.com/emscripten-core/emsdk.git ~/emsdk |
| 34 | ~/emsdk/emsdk install latest | 36 | ~/emsdk/emsdk install latest |
