Skip to content

Commit 648b755

Browse files
committed
Update CI
1 parent b3b73ce commit 648b755

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: push
44

55
env:
66
BUILD_TYPE: Release
7-
EM_VERSION: 2.0.34
7+
EM_VERSION: 3.1.35
88
EM_CACHE_FOLDER: 'emsdk-cache'
99

1010
jobs:
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2929
with:
3030
submodules: 'recursive'
3131

@@ -36,14 +36,14 @@ jobs:
3636
- name: Setup Emscripten cache
3737
if: matrix.platform.compiler == 'em++'
3838
id: cache-system-libraries
39-
uses: actions/cache@v2.1.7
39+
uses: actions/cache@v4
4040
with:
4141
path: ${{env.EM_CACHE_FOLDER}}
42-
key: ${{env.EM_VERSION}}-${{ runner.os }}
42+
key: ${{env.EM_VERSION}}-${{matrix.platform.name}}-${{matrix.build-type}}
4343

4444
- name: Setup Emscripten
4545
if: matrix.platform.compiler == 'em++'
46-
uses: mymindstorm/setup-emsdk@v11
46+
uses: mymindstorm/setup-emsdk@v14
4747
with:
4848
version: ${{env.EM_VERSION}}
4949
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
@@ -135,7 +135,7 @@ jobs:
135135
136136
- name: Publish
137137
if: matrix.platform.compiler == 'em++' && github.ref == 'refs/heads/main'
138-
uses: JamesIves/github-pages-deploy-action@4.1.0
138+
uses: JamesIves/github-pages-deploy-action@4.7.3
139139
with:
140140
branch: gh-pages
141141
folder: ${{github.workspace}}/bin/demo

0 commit comments

Comments
 (0)