Skip to content

Commit

Permalink
Add github.ref into cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
nowsprinting committed Sep 21, 2024
1 parent 0894946 commit 54e9e66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 54e9e66

Please sign in to comment.