Commit 7dd50b8 1 parent 28e6d72 commit 7dd50b8 Copy full SHA for 7dd50b8
File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 21
21
- name : Check-out repository
22
22
uses : actions/checkout@v4
23
23
24
+ - name : Cache emsdk
25
+ id : cache-emsdk
26
+ uses : actions/cache@v4
27
+ with :
28
+ path : ~/emsdk
29
+ key : ${{ runner.os }}-emsdk
30
+
24
31
- name : Install emsdk
25
- if : False
32
+ if : steps.cache-emsdk.outputs.cache-hit != 'true'
26
33
shell : bash
27
34
run : |
28
35
git clone https://github.com/emscripten-core/emsdk.git
@@ -31,13 +38,23 @@ jobs:
31
38
./emsdk install 3.1.50 # this version is needed for Qt 6.7
32
39
./emsdk activate 3.1.50
33
40
41
+ - name : Cache Qt
42
+ id : cache-qt
43
+ uses : actions/cache@v4
44
+ with :
45
+ path : ~/Qt
46
+ key : ${{ runner.os }}-qt
47
+
34
48
- name : Install Qt for WebAssembly
49
+ if : steps.cache-qt.outputs.cache-hit != 'true'
35
50
shell : bash
36
51
run : |
37
52
curl -L -O https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg
38
53
chmod u+x qt-unified-mac-x64-online.dmg
39
54
hdiutil attach qt-unified-mac-x64-online.dmg
40
55
/Volumes/qt-online-installer-macOS-x64-4.8.0/qt-online-installer-macOS-x64-4.8.0.app/Contents/MacOS/qt-online-installer-macOS-x64-4.8.0 \
56
+ --email ${{ secrets.QT_ACCOUNT_EMAIL }} \
57
+ --pw ${{ secrets.QT_ACCOUNT_PASSWORD }} \
41
58
--root ~/Qt \
42
59
--accept-licenses \
43
60
--accept-obligations \
You can’t perform that action at this time.
0 commit comments