Skip to content

Commit a639a86

Browse files
fix: include src/Packages in cache key to invalidate on index.html changes
1 parent c83d39d commit a639a86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ui-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
if: github.event_name != 'workflow_dispatch' || github.event.inputs.targetPlatform == 'All' || github.event.inputs.targetPlatform == matrix.targetPlatform
5858
with:
5959
path: Library
60-
key: Library-${{ matrix.targetPlatform }}-${{ hashFiles(format('{0}/Assets/**', matrix.projectPath), format('{0}/Packages/**', matrix.projectPath), format('{0}/ProjectSettings/**', matrix.projectPath)) }}
60+
key: Library-${{ matrix.targetPlatform }}-${{ hashFiles(format('{0}/Assets/**', matrix.projectPath), format('{0}/Packages/**', matrix.projectPath), format('{0}/ProjectSettings/**', matrix.projectPath), 'src/Packages/**') }}
6161
restore-keys: |
6262
Library-${{ matrix.targetPlatform }}
6363
Library-
@@ -196,7 +196,7 @@ jobs:
196196
uses: actions/cache@v3
197197
with:
198198
path: sample-unity6/Library
199-
key: Library-Unity6-Windows-${{ hashFiles('sample-unity6/Assets/**', 'sample-unity6/Packages/**', 'sample-unity6/ProjectSettings/**') }}
199+
key: Library-Unity6-Windows-${{ hashFiles('sample-unity6/Assets/**', 'sample-unity6/Packages/**', 'sample-unity6/ProjectSettings/**', 'src/Packages/**') }}
200200
restore-keys: |
201201
Library-Unity6-Windows-
202202
- name: Setup symlinks for Unity 6 Windows

0 commit comments

Comments
 (0)