From 33f04bb3d5a4bd84f831660f6e02af3be8e42430 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 6 Jun 2024 21:10:13 +0200 Subject: [PATCH] Fixed artifact uploading, again --- .github/workflows/build-and-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index c39c0e40..eca14dce 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -143,8 +143,8 @@ jobs: if-no-files-found: error retention-days: 1 - - name: Upload artifact (Windows - NSIS) && contains(matrix.tauri_bundle, 'nsis') - if: startsWith(matrix.platform, 'windows') + - name: Upload artifact (Windows - NSIS) + if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'nsis') uses: actions/upload-artifact@v4 with: name: MindWork AI Studio (Windows - NSIS ${{ matrix.dotnet_runtime }}) @@ -161,8 +161,8 @@ jobs: if-no-files-found: error retention-days: 1 - - name: Upload artifact (Linux - AppImage) && contains(matrix.tauri_bundle, 'appimage') - if: startsWith(matrix.platform, 'ubuntu') + - name: Upload artifact (Linux - AppImage) + if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'appimage') uses: actions/upload-artifact@v4 with: name: MindWork AI Studio (Linux - AppImage ${{ matrix.dotnet_runtime }})