diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8a0d26c..f2a82ff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -52,16 +52,10 @@ jobs: targets: ${{ matrix.rust_targets }} - name: Cache Rust dependencies - uses: actions/cache@v4 + uses: Swatinem/rust-cache@v2 with: - path: | - ~/.cargo/registry - ~/.cargo/git - src-tauri/target - key: ${{ runner.os }}-${{ matrix.rust_targets }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.rust_targets }}-cargo- - ${{ runner.os }}-cargo- + workspaces: src-tauri + key: ${{ matrix.rust_targets }} # ── Linux ──────────────────────────────────────────────────────────────── - name: Install Dependencies (Linux) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 9388183..6f60d2c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -30,7 +30,7 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": ["deb", "appimage", "app", "dmg", "nsis", "msi"], "linux": { "appimage": { "bundleMediaFramework": true