fix cache

This commit is contained in:
an-lee
2024-03-01 15:25:29 +08:00
parent 5c3a750442
commit f52ecf7226

View File

@@ -36,7 +36,7 @@ jobs:
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-{{ github.event.inputs.arch }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
env: