Skip to content

Commit 342ad7d

Browse files
committed
Fix GitHub Actions workflow: Simplify hashFiles() syntax
- Change from hashFiles('Package.swift', 'Package@*.swift') to hashFiles('Package.swift') - Fixes 'template is not valid' error on macOS runner - hashFiles() doesn't support multiple glob patterns in GitHub Actions
1 parent 40bfdd0 commit 342ad7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/cache@v4
3232
with:
3333
path: .build
34-
key: macos-swift62-spm-${{ hashFiles('Package.swift', 'Package@*.swift') }}
34+
key: macos-swift62-spm-${{ hashFiles('Package.swift') }}
3535
restore-keys: |
3636
macos-swift62-spm-
3737

0 commit comments

Comments
 (0)