Skip to content

Commit 1aed27b

Browse files
feat(ci): use latest emsdk version (#184)
1 parent 8133bd1 commit 1aed27b

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/grammars.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,13 @@ jobs:
4545
cache: "yarn"
4646

4747
- name: Setup EMSDK
48-
uses: mymindstorm/setup-emsdk@v14
48+
uses: pyodide/setup-emsdk@v15
49+
env:
50+
EMSDK_VERSION: 4.0.15
4951
with:
50-
version: 3.1.54
52+
version: ${{ env.EMSDK_VERSION }}
5153
actions-cache-folder: "emsdk-cache"
54+
cache-key: emsdk-cache-${{ runner.os }}-${{ runner.arch }}-${{ env.EMSDK_VERSION }}
5255

5356
- name: Install dependencies
5457
env:

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ jobs:
3030
run: yarn install --immutable
3131

3232
- name: Setup EMSDK
33-
uses: mymindstorm/setup-emsdk@v14
33+
uses: pyodide/setup-emsdk@v15
34+
env:
35+
EMSDK_VERSION: 4.0.15
3436
with:
35-
version: 3.1.54
37+
version: ${{ env.EMSDK_VERSION }}
3638
actions-cache-folder: "emsdk-cache"
39+
cache-key: emsdk-cache-${{ runner.os }}-${{ runner.arch }}-${{ env.EMSDK_VERSION }}
3740

3841
- name: Build WASM
3942
run: yarn grammar:wasm

0 commit comments

Comments
 (0)