ci: include arch in bun dep cache key (#163)
Fixes issues like [these](https://gitea.t000-n.de/t.behrendt/ts3gotify/actions/runs/12053/jobs/21922) where the ARM64 runner restores a cache created by an AMD64 runner, which has incorrect binaries for oxfmt/oxlnt. Reviewed-on: #163 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #163.
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
node_modules
|
node_modules
|
||||||
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lockb') }}
|
key: ${{ runner.os }}-${{ runner.arch }}-bun-${{ hashFiles('bun.lockb') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-deps.outputs.cache-hit != 'true'
|
if: steps.cache-deps.outputs.cache-hit != 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user