Skip to content

Commit a5e570b

Browse files
fix: add fallback for hashFiles on macOS runner
1 parent b692853 commit a5e570b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/electron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/cache@v4
5151
with:
5252
path: ${{ steps.get-pnpm-store-path.outputs.store_path }}
53-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
53+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') || 'no-lock' }}
5454
restore-keys: |
5555
${{ runner.os }}-pnpm-store-
5656

0 commit comments

Comments
 (0)