From 5f2859cca35ff5827abbf5f54e0bd52a9f6fbc72 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Thu, 10 Aug 2023 15:36:52 -0700 Subject: [PATCH] chore(ci): Create cache key with consideration to target (#2273) * chore(ci): Create cache key with consideration to target * small change to test caches * undo small change --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index abade7d04a..e047437eb7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -87,7 +87,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Download artifact uses: actions/download-artifact@v3 @@ -169,7 +169,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Download artifact uses: actions/download-artifact@v3 @@ -245,7 +245,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ matrix.target }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Download artifact uses: actions/download-artifact@v3