mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Make the artifact uploading depending on the chosen Tauri bundle
This commit is contained in:
parent
b9015e9a35
commit
2212a07a87
8
.github/workflows/build-and-release.yml
vendored
8
.github/workflows/build-and-release.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user