Skip to content

Commit 8a0e85e

Browse files
committed
Change path to Qt
1 parent 1ce471e commit 8a0e85e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/wasm.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: cache-qt
4343
uses: actions/cache@v4
4444
with:
45-
path: ${{ github.workspace }}/Qt
45+
path: ~/Qt
4646
key: ${{ runner.os }}-qt
4747

4848
- name: Install Qt for WebAssembly
@@ -55,7 +55,7 @@ jobs:
5555
/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 \
5656
--email ${{ secrets.QT_ACCOUNT_EMAIL }} \
5757
--pw ${{ secrets.QT_ACCOUNT_PASSWORD }} \
58-
--root ${{ github.workspace }}/Qt \
58+
--root ~/Qt \
5959
--accept-licenses \
6060
--accept-obligations \
6161
--default-answer \
@@ -68,14 +68,14 @@ jobs:
6868
run: |
6969
source ${{ github.workspace }}/emsdk/emsdk_env.sh
7070
em++ --version
71-
export PATH=$PATH:${{ github.workspace }}/Qt/6.7.2/wasm_singlethread/bin
71+
export PATH=$PATH:~/Qt/6.7.2/wasm_singlethread/bin
7272
qmake -v
7373
7474
- name: Build WASM from BasicMinimalC++ example
7575
shell: bash
7676
run: |
7777
source ${{ github.workspace }}/emsdk/emsdk_env.sh
78-
export PATH=$PATH:${{ github.workspace }}/Qt/6.7.2/wasm_singlethread/bin
78+
export PATH=$PATH:~/Qt/6.7.2/wasm_singlethread/bin
7979
cd examples/BasicMinimalC++/src
8080
qmake BasicMinimalC++.pro -spec wasm-emscripten
8181
make -j

0 commit comments

Comments
 (0)