Skip to content

Commit

Permalink
Fix cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
kalvkusk committed Feb 12, 2024
1 parent 71fc857 commit 5f34318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-mac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: Swatinem/[email protected]
with:
workspaces: src-tauri
shared-key: "macos-11"
shared-key: "${{ matrix.os }}"
cache-all-crates: true
cache-on-failure: true

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: ./src-tauri
shared-key: ${{ matrix.os }}
shared-key: "${{ matrix.os }}"
cache-all-crates: true

######## BUILD ########

- 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
Expand Down

0 comments on commit 5f34318

Please sign in to comment.