diff --git a/.github/workflows/release-mac.yaml b/.github/workflows/release-mac.yaml index a9860627..5af8c699 100644 --- a/.github/workflows/release-mac.yaml +++ b/.github/workflows/release-mac.yaml @@ -47,7 +47,7 @@ jobs: - uses: Swatinem/rust-cache@v2.7.3 with: workspaces: src-tauri - shared-key: "macos-11" + shared-key: "${{ matrix.os }}" cache-all-crates: true cache-on-failure: true diff --git a/.github/workflows/release-win.yaml b/.github/workflows/release-win.yaml index ec70d878..96f17720 100644 --- a/.github/workflows/release-win.yaml +++ b/.github/workflows/release-win.yaml @@ -63,7 +63,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: ./src-tauri - shared-key: ${{ matrix.os }} + shared-key: "${{ matrix.os }}" cache-all-crates: true ######## BUILD ######## @@ -71,9 +71,9 @@ jobs: - name: yarn installation run: yarn install - # - name: pre-build rust - # working-directory: ./src-tauri - # run: cargo b --release + - name: pre-build rust + working-directory: ./src-tauri + run: cargo b --release - name: Build Tauri uses: tauri-apps/tauri-action@v0