Skip to content

Commit 5d67816

Browse files
committed
Merge remote-tracking branch 'origin/release/1.x'
2 parents 71cb83b + 2c5f975 commit 5d67816

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build-dmg-qt6-macos.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838
with:
3939
ref: ${{ github.event.inputs.tag || github.event.inputs.branch || github.ref_name }}
4040

@@ -70,10 +70,11 @@ jobs:
7070
7171
- name: Install dependencies
7272
run: |
73-
brew install ninja cmake
73+
brew list --versions ninja >/dev/null || brew install ninja
74+
brew list --versions cmake >/dev/null || brew install cmake
7475
7576
- name: Install Python (for aqtinstall)
76-
uses: actions/setup-python@v5
77+
uses: actions/setup-python@v6
7778
with:
7879
python-version: "3.12"
7980

@@ -130,7 +131,7 @@ jobs:
130131
"$DMG_NAME"
131132
132133
- name: Upload DMG
133-
uses: actions/upload-artifact@v4
134+
uses: actions/upload-artifact@v7
134135
if: success()
135136
with:
136137
name: ${{ env.DMG_NAME }}

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ else()
8181
endif()
8282
endif()
8383

84-
if(${GIT_BRANCH} MATCHES dev OR ${GIT_BRANCH} MATCHES "release/")
84+
if(DEFINED GIT_BRANCH AND "${GIT_BRANCH}" MATCHES "^(dev|release/.*)$")
8585
set(PROJECT_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}-dev)
8686
endif()
8787

0 commit comments

Comments
 (0)