From 666956a7e405d1fc01fcf328a28c1384e5e9926c Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 6 May 2026 19:40:54 +0200 Subject: [PATCH] Removed support for deb release targets (#752) --- .github/workflows/build-and-release.yml | 31 +++++++------------------ runtime/tauri.conf.json | 6 ++++- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 3b4f491e..422a40a2 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -234,15 +234,15 @@ jobs: rust_target: 'x86_64-unknown-linux-gnu' dotnet_runtime: 'linux-x64' dotnet_name_postfix: '-x86_64-unknown-linux-gnu' - tauri_bundle: 'appimage,deb,updater' - tauri_bundle_pr: 'appimage,deb' + tauri_bundle: 'appimage,updater' + tauri_bundle_pr: 'appimage' - platform: 'ubuntu-22.04-arm' # for ARM-based Linux rust_target: 'aarch64-unknown-linux-gnu' dotnet_runtime: 'linux-arm64' dotnet_name_postfix: '-aarch64-unknown-linux-gnu' - tauri_bundle: 'appimage,deb,updater' - tauri_bundle_pr: 'appimage,deb' + tauri_bundle: 'appimage,updater' + tauri_bundle_pr: 'appimage' - platform: 'windows-latest' # for x86-based Windows rust_target: 'x86_64-pc-windows-msvc' @@ -749,16 +749,11 @@ jobs: rm -Force "runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio_*.exe" -ErrorAction SilentlyContinue rm -Force "runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio*nsis.zip*" -ErrorAction SilentlyContinue - - name: Delete previous artifact, which may exist due to caching (Linux - Debian Package) - if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'deb') - run: | - rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/deb/mind-work-ai-studio_*.deb - - name: Delete previous artifact, which may exist due to caching (Linux - AppImage) if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'appimage') run: | - rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/mind-work-ai-studio_*.AppImage - rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/mind-work-ai-studio*AppImage.tar.gz* + rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/*.AppImage + rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/*.AppImage.tar.gz* - name: Build Tauri project (Unix) if: matrix.platform != 'windows-latest' @@ -831,24 +826,14 @@ jobs: if-no-files-found: error retention-days: ${{ fromJSON(needs.determine_run_mode.outputs.artifact_retention_days) }} - - name: Upload artifact (Linux - Debian Package) - if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'deb') - uses: actions/upload-artifact@v4 - with: - name: MindWork AI Studio (Linux - deb ${{ matrix.dotnet_runtime }}) - path: | - runtime/target/${{ matrix.rust_target }}/release/bundle/deb/mind-work-ai-studio_*.deb - if-no-files-found: error - retention-days: ${{ fromJSON(needs.determine_run_mode.outputs.artifact_retention_days) }} - - 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 }}) path: | - runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/mind-work-ai-studio_*.AppImage - runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/mind-work-ai-studio*AppImage.tar.gz* + runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/*.AppImage + runtime/target/${{ matrix.rust_target }}/release/bundle/appimage/*.AppImage.tar.gz* if-no-files-found: error retention-days: ${{ fromJSON(needs.determine_run_mode.outputs.artifact_retention_days) }} diff --git a/runtime/tauri.conf.json b/runtime/tauri.conf.json index 08a7a640..6bfae9c6 100644 --- a/runtime/tauri.conf.json +++ b/runtime/tauri.conf.json @@ -10,7 +10,11 @@ "bundle": { "active": true, - "targets": "all", + "targets": [ + "appimage", + "dmg", + "nsis" + ], "icon": [ "icons/32x32.png", "icons/128x128.png",