diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index ac14ca73..dc2188ad 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -347,7 +347,7 @@ jobs: cargo tauri build --target ${{ matrix.rust_target }} --bundles ${{ matrix.tauri_bundle }} - name: Upload artifact (macOS) - if: startsWith(matrix.platform, 'macos') + if: startsWith(matrix.platform, 'macos') && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: MindWork AI Studio (macOS ${{ matrix.dotnet_runtime }}) @@ -369,7 +369,7 @@ jobs: retention-days: ${{ env.RETENTION_INTERMEDIATE_ASSETS }} - name: Upload artifact (Windows - NSIS) - if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'nsis') + if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'nsis') && startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: name: MindWork AI Studio (Windows - NSIS ${{ matrix.dotnet_runtime }}) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3d72d2b6..d6835ac7 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -9,7 +9,7 @@ authors = ["Thorsten Sommer"] tauri-build = { version = "1.5", features = [] } [dependencies] -tauri = { version = "1.8", features = [ "http-all", "updater", "shell-sidecar", "shell-open", "dialog", "devtools"] } +tauri = { version = "1.8", features = [ "http-all", "updater", "shell-sidecar", "shell-open", "dialog"] } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } serde = { version = "1.0.218", features = ["derive"] } serde_json = "1.0.134"