Skip to content

Commit

Permalink
fix(ci): fix lines
Browse files Browse the repository at this point in the history
  • Loading branch information
chenx-dust committed Jan 20, 2025
1 parent 47da8f1 commit 7dfa8af
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,10 @@ jobs:
run: |
mkdir build
if ( [bool]::Parse("${{ env.NIGHTLY_BUILD }}") ) {
cmake -DNIGHTLY_BUILD=ON -DGIT_HASH=$(git rev-parse --short=7 HEAD) -DCMAKE_BUILD_TYPE=Release \
-D QT_HOST_PATH="${{ env.QT_HOST_PATH }}" -A ARM64 \
-S . -B build
cmake -DNIGHTLY_BUILD=ON -DGIT_HASH=$(git rev-parse --short=7 HEAD) -DCMAKE_BUILD_TYPE=Release -DQT_HOST_PATH="${{ env.QT_HOST_PATH }}" -A ARM64 -S . -B build
} else {
$VER = "${{ env.RELEASE_VERSION }}".substring(1)
cmake -DNIGHTLY_BUILD=OFF -DREL_VER=$VER -DCMAKE_BUILD_TYPE=Release \
-DQT_HOST_PATH="${{ env.QT_HOST_PATH }}" -A ARM64 \
-S . -B build
cmake -DNIGHTLY_BUILD=OFF -DREL_VER=$VER -DCMAKE_BUILD_TYPE=Release -DQT_HOST_PATH="${{ env.QT_HOST_PATH }}" -A ARM64 -S . -B build
}
- name: Build
Expand Down

0 comments on commit 7dfa8af

Please sign in to comment.