@@ -13,11 +13,11 @@ jobs:
1313 strategy :
1414 matrix :
1515 BUILD_TYPE : [Release, Debug]
16- qt_version : [6.7.1 , 5.15.2, 5.12.12]
16+ qt_version : [6.8.3 , 5.15.2, 5.12.12]
1717 include :
18- - qt_version : 6.7.1
18+ - qt_version : 6.8.3
1919 qt_arch : win64_msvc2019_64
20- qt_modules : qtscxml qtpositioning qtwebchannel qtwebsockets qtwebview qtmultimedia qt5compat
20+ qt_modules : qtscxml qtpositioning qtmultimedia qt5compat
2121 VCPKG_TARGET_TRIPLET : x64-windows
2222 VCPKG_PLATFORM_TOOLSET : v143
2323 CMAKE_GENERATOR_PLATFORM : x64
@@ -40,12 +40,13 @@ jobs:
4040 runs-on : windows-latest
4141
4242 env :
43+ BUILD_DIR : ${{github.workspace}}\build
4344 SOURCE_DIR : ${{github.workspace}}\.cache\source
4445 TOOSL_DIR : ${{github.workspace}}\.cache\tools
4546 INSTALL_DIR : ${{github.workspace}}\.cache\install_msvc_${{matrix.CMAKE_GENERATOR_PLATFORM}}_${{matrix.BUILD_TYPE}}
4647 CMAKE_GENERATOR : " Visual Studio 17 2022"
4748 CMAKE_GENERATOR_PLATFORM : ${{matrix.CMAKE_GENERATOR_PLATFORM}}
48- VCPKGGITCOMMITID : 110c50d4700794d87d95138cd8c1b3bbfee9bab5
49+ VCPKGGITCOMMITID : d8ad13c401b30c2836d00b8923c9127f05f591c7
4950 VCPKG_PLATFORM_TOOLSET : ${{matrix.VCPKG_PLATFORM_TOOLSET}}
5051 VCPKG_TARGET_TRIPLET : ${{matrix.VCPKG_TARGET_TRIPLET}}
5152 qt_modules : qtwebengine ${{matrix.qt_modules}}
7576 cmake -E make_directory ${{env.INSTALL_DIR}}
7677
7778 - name : Cache installed
78- uses : actions/cache@v3
79+ uses : actions/cache@v4
7980 id : cache-installed
8081 with :
8182 path : |
@@ -136,21 +137,15 @@ jobs:
136137 cmake --build . --config ${{matrix.BUILD_TYPE}} --target install
137138 )
138139
139- - name : Cache Qt
140- id : cache-qt
141- uses : actions/cache@v1 # not v2!
142- with :
143- path : ${{env.TOOSL_DIR}}/qt
144- key : qt_${{matrix.qt_version}}_${{matrix.qt_arch}}
145-
146140 - name : Install Qt
147- uses : jurplel/install-qt-action@v3
141+ uses : jurplel/install-qt-action@v4
148142 with :
149- dir : ' ${{env.TOOSL_DIR }}/qt' # optional
143+ dir : ' ${{env.TOOLS_DIR }}/qt' # optional
150144 version : ' ${{matrix.qt_version}}' # optional, default is 5.15.2
151145 arch : ' ${{matrix.qt_arch}}' # optional
152- modules : ' ${{env.qt_modules}}' # optional. See: https://ddalcino.github.io/aqt-list-server/
153- cached : ' ${{steps.cache-qt.outputs.cache-hit}}' # optional, default is false
146+ modules : ' ${{env.qt_modules}}' # optional. see: https://ddalcino.github.io/aqt-list-server/
147+ cache : true
148+ cache-key-prefix : cached-qt_${{matrix.qt_version}}_${{matrix.qt_arch}}
154149
155150 - name : git clone RabbitCommon
156151 working-directory : ${{env.SOURCE_DIR}}
@@ -203,7 +198,7 @@ jobs:
203198 copy /Y FaceRecognizer_${{env.FaceRecognizer_VERSION}}_Setup.exe FaceRecognizer_${{env.FaceRecognizer_VERSION}}_${{matrix.qt_arch}}_qt${{matrix.qt_version}}_Setup.exe
204199
205200 - name : Update configure file
206- if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.7.1 ' }}
201+ if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.8.3 ' }}
207202 working-directory : ${{github.workspace}}\build
208203 run : |
209204 ${{github.workspace}}\build\install\bin\FaceRecognizerApp.exe ^
@@ -215,7 +210,7 @@ jobs:
215210 -m "${{env.FaceRecognizer_VERSION}}"
216211
217212 - name : Update artifact
218- if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.7.1 ' }}
213+ if : ${{ matrix.BUILD_TYPE == 'Release' && matrix.qt_version == '6.8.3 ' }}
219214 uses : actions/upload-artifact@v4
220215 with :
221216 name : ${{ env.artifact_name }}_${{matrix.qt_version}}_${{matrix.qt_arch}}
0 commit comments