From f52ecf7226ae3828d3a82ef5c53bd5c993d9efb8 Mon Sep 17 00:00:00 2001 From: an-lee Date: Fri, 1 Mar 2024 15:25:29 +0800 Subject: [PATCH] fix cache --- .github/workflows/build-enjoy-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-enjoy-app.yml b/.github/workflows/build-enjoy-app.yml index 8960f392..09f85902 100644 --- a/.github/workflows/build-enjoy-app.yml +++ b/.github/workflows/build-enjoy-app.yml @@ -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: