Skip to content

Commit c1fa08c

Browse files
chore: Update cache key to use package.json
Fixes the issue of never using the cached library file.
1 parent c3c16e1 commit c1fa08c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/unity-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
uses: actions/cache@v4
5555
with:
5656
path: TempProject/Library
57-
key: lib-${{ runner.os }}-${{ env.UNITY_VERSION }}-${{ hashFiles(format('{0}/**', env.PROJECT_PATH)) }}
57+
key: lib-${{ runner.os }}-${{ env.UNITY_VERSION }}-${{ hashFiles(format('{0}/package.json', env.PROJECT_PATH)) }}
5858
restore-keys: |
5959
lib-${{ runner.os }}-${{ env.UNITY_VERSION }}-
6060

0 commit comments

Comments
 (0)