chore: update the file

This commit is contained in:
x-tools-author 2025-03-05 13:19:22 +08:00
parent 3246ec64e5
commit 5c6478f3d6
2 changed files with 7 additions and 1 deletions

View File

@ -12,9 +12,10 @@ jobs:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14]
version: [6.8.*]
version: [6.2.4, 6.5.3, 6.8.2]
steps:
- name: checkout
uses: actions/checkout@v4

View File

@ -7,6 +7,11 @@ function(x_tools_generate_dmg target version)
return()
endif()
# Just for Qt 6.5 or later
if(QT_VERSION VERSION_LESS "6.5.0")
return()
endif()
add_custom_target(
${target}_dmg
COMMAND ${MACDEPLOYQT_EXECUTABLE} "${target}.app" "-dmg"