@@ -23,7 +23,7 @@ inputs:
2323 qt_ver :
2424 description : ' qt version'
2525 required : false
26- default : ' 6.7.2 '
26+ default : ' 6.8.1 '
2727 type : string
2828
2929runs :
4242 rm vcpkg.json
4343
4444 - name : Cache windows vcpkg
45- if : startsWith( runner.os, 'Windows')
45+ if : runner.os == 'Windows'
4646 uses : actions/cache@v4
4747 with :
4848 path : C:\vcpkg\installed
5151 ${{ inputs.os_name }}-vcpkg-installed-${{ runner.os_name }}-
5252 ${{ inputs.os_name }}-vcpkg-installed-
5353 ${{ inputs.os_name }}-
54- save-always : true
5554
5655 - name : Cache macos or linux vcpkg
57- if : startsWith( runner.os, 'macOS') || startsWith( runner.os, 'Linux')
56+ if : runner.os == 'macOS' || runner.os == 'Linux'
5857 uses : actions/cache@v4
5958 with :
6059 path : /usr/local/share/vcpkg/installed
6362 ${{ inputs.os_name }}-vcpkg-installed-${{ runner.os_name }}-
6463 ${{ inputs.os_name }}-vcpkg-installed-
6564 ${{ inputs.os_name }}-
66- save-always : true
6765
6866 - name : Install dependencies on windows
69- if : startsWith( runner.os, 'Windows')
67+ if : runner.os == 'Windows'
7068 shell : bash
7169 run : |
7270 choco install ninja
7775 || (cat C:/vcpkg/installed/vcpkg/issue_body.md && exit 1)
7876
7977 - name : Install dependencies on macos
80- if : startsWith( runner.os, 'macOS')
78+ if : runner.os == 'macOS'
8179 shell : bash
8280 run : |
8381 brew install ninja nasm python-setuptools mpv
@@ -92,12 +90,12 @@ runs:
9290 || (cat /usr/local/share/vcpkg/installed/vcpkg/issue_body.md && exit 1)
9391
9492 - name : Install dependencies on linux
95- if : startsWith( runner.os, 'Linux')
93+ if : runner.os == 'Linux'
9694 shell : bash
9795 run : |
9896 sudo apt-get update
9997 sudo apt-get install ninja-build nasm autopoint gperf libgl1-mesa-dev \
100- libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev \
98+ libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev libltdl-dev \
10199 mpv libmpv-dev
102100 ninja --version
103101 cmake --version
@@ -112,3 +110,4 @@ runs:
112110 version : ${{ inputs.qt_ver }}
113111 modules : ${{ inputs.qt_modules }}
114112 cache : ' true'
113+
0 commit comments