From cbe4dcb4b5f823e2018d9068b1f9aeed0b1ebe6a Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 4 Aug 2022 18:40:33 -0700 Subject: [PATCH] Update 'rust-cache' GitHub action to v2. --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a24e2e07..0718c8e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,13 +68,14 @@ jobs: - name: Cache Example Workspace if: matrix.test.name == 'Examples' - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 with: - working-directory: "examples" + workspaces: examples + key: ${{ matrix.test.name }} - name: Cache Root Workspace if: matrix.test.name != 'Examples' - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2 with: key: ${{ matrix.test.name }}