Browse Source

CI: add arch to `npx wrangler` cache key

SukkaW 1 year ago
parent
commit
c07fe1dd56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/main.yml

@@ -104,7 +104,7 @@ jobs:
           path: |
             ${{ steps.npm_cache_path.outputs.dir }}
             node_modules
-          key: ${{ runner.os }}-deploy-to-cloudflare-npm
+          key: ${{ runner.os }}-${{ runner.arch }}-deploy-to-cloudflare-npm
       - uses: actions/download-artifact@v4
         with:
           name: build-artifact-${{ github.ref_name }}