From 54e9e66ec269d4164d62280eb2e0d73d69f352e5 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sat, 21 Sep 2024 23:28:14 +0900 Subject: [PATCH] Add github.ref into cache key --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90a7747..2d40a1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,9 +51,11 @@ jobs: - uses: actions/cache@v4 with: path: ${{ env.CREATED_PROJECT_PATH }}/Library - key: Library-${{ matrix.unityVersion }} + key: Library-linux-${{ matrix.unityVersion }}-${{ github.ref }} restore-keys: | - Library- + Library-linux-${{ matrix.unityVersion }} + Library-linux + Library - name: Get package checkout path run: |