From 4feb3899e292a85b142c5fbd3d1229b4dc3bb8b0 Mon Sep 17 00:00:00 2001
From: Lars Berger <lars.berger@yahoo.com>
Date: Wed, 24 Jul 2024 04:42:18 +0800
Subject: [PATCH] ci: fix cargo cache key on macos

---
 .github/workflows/build.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index dbcb2a9e..15bb7746 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -51,7 +51,7 @@ jobs:
 
       - uses: swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894
         with:
-          shared-key: ${{ matrix.rust-targets }}-${{ hashFiles('Cargo.lock') }}
+          shared-key: ${{ matrix.tauri-target }}-${{ hashFiles('Cargo.lock') }}
 
       - name: Install dependencies (Ubuntu)
         if: matrix.platform == 'ubuntu-22.04'