diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml index 822a773ec..f492efc37 100644 --- a/.github/workflows/desktop-release.yml +++ b/.github/workflows/desktop-release.yml @@ -77,6 +77,7 @@ jobs: with: node-version: "22" cache: "npm" + cache-dependency-path: package-lock.json registry-url: "https://npm.pkg.github.com" scope: "@boudra" @@ -85,6 +86,14 @@ jobs: with: targets: ${{ matrix.rust_target }} + - name: Restore Rust cache + uses: Swatinem/rust-cache@v2 + with: + shared-key: desktop-release-macos-${{ matrix.rust_target }} + workspaces: | + . + packages/desktop/src-tauri -> target + - name: Install JS dependencies run: npm ci env: @@ -241,12 +250,21 @@ jobs: with: node-version: "22" cache: "npm" + cache-dependency-path: package-lock.json registry-url: "https://npm.pkg.github.com" scope: "@boudra" - name: Install Rust stable uses: dtolnay/rust-toolchain@stable + - name: Restore Rust cache + uses: Swatinem/rust-cache@v2 + with: + shared-key: desktop-release-linux + workspaces: | + . + packages/desktop/src-tauri -> target + - name: Install JS dependencies run: npm ci env: @@ -364,12 +382,21 @@ jobs: with: node-version: "22" cache: "npm" + cache-dependency-path: package-lock.json registry-url: "https://npm.pkg.github.com" scope: "@boudra" - name: Install Rust stable uses: dtolnay/rust-toolchain@stable + - name: Restore Rust cache + uses: Swatinem/rust-cache@v2 + with: + shared-key: desktop-release-windows + workspaces: | + . + packages/desktop/src-tauri -> target + - name: Install JS dependencies run: npm ci env: