mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 21:13:47 +00:00
Make the artifact uploading depending on the chosen Tauri bundle
This commit is contained in:
1 file changed
+4
-4
@@ -113,7 +113,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload artifact (Windows - MSI)
|
||||
if: startsWith(matrix.platform, 'windows')
|
||||
if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'msi')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: MindWork AI Studio (Windows MSI ${{ matrix.dotnet_runtime }})
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload artifact (Windows - NSIS)
|
||||
- name: Upload artifact (Windows - NSIS) && contains(matrix.tauri_bundle, 'nsis')
|
||||
if: startsWith(matrix.platform, 'windows')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -131,7 +131,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload artifact (Linux - Debian Package)
|
||||
if: startsWith(matrix.platform, 'ubuntu')
|
||||
if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'deb')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: MindWork AI Studio (Debian Package ${{ matrix.dotnet_runtime }})
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload artifact (Linux - AppImage)
|
||||
- name: Upload artifact (Linux - AppImage) && contains(matrix.tauri_bundle, 'appimage')
|
||||
if: startsWith(matrix.platform, 'ubuntu')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user