From beabd94d9d45bf789a2a5b68eddfc2502c6f9c1a Mon Sep 17 00:00:00 2001 From: mungai-njoroge Date: Fri, 13 Oct 2023 01:16:25 +0300 Subject: [PATCH] update workflow --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d472f15..95750b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,10 @@ jobs: - name: Verify Windows build success if: matrix.os == 'windows-2019' run: | - if not exist "./dist/swingmusic.exe" ( - echo Build failed - exit /b 1 - ) + if (-not (Test-Path "./dist/swingmusic.exe")) { + Write-Host "Build failed" + exit 1 + } - name: Upload Linux binary if: matrix.os == 'ubuntu-20.04' uses: actions/upload-artifact@v3