fix: if statement syntax error

This commit is contained in:
cwilvx
2025-05-09 13:00:23 +03:00
parent 1cc0118daa
commit 5733623c88
+2 -2
View File
@@ -153,12 +153,12 @@ jobs:
- name: Verify Windows build success
if: ${{ startsWith(matrix.os, 'win') }}
run: |
if [[ "${{ matrix.os }}" == *"arm"* ]]; then
if ($env:matrix_os -like "*arm*") {
if (-not (Test-Path "./dist/swingmusic_arm64.exe")) {
Write-Host "Build failed"
exit 1
}
else
} else {
if (-not (Test-Path "./dist/swingmusic.exe")) {
Write-Host "Build failed"
exit 1