From 1dd0b7cfb396aedb7f2120e83912f0ea44252c70 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Fri, 27 Mar 2026 19:12:25 +0100 Subject: [PATCH] clear cache from previous runs to avoid clash between archs --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12d406d1d..47bb5a65b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,12 @@ jobs: name: build-ci-${{ matrix.os }} steps: + - name: Clear cache + run: | + rm -rf ~/.cache/nim + rm -rf ~/.cache/nimble + rm -rf nimcache + - name: Checkout code uses: actions/checkout@v4 @@ -83,7 +89,7 @@ jobs: nimbledeps/pkgs2 ~/.cache key: nimble-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('waku.nimble') }} - restore-keys: nimble-${{ runner.os }}-${{ runner.arch }}- + restore-keys: nimble-${{ runner.os }}-${{ runner.arch }} - name: Make update run: make update @@ -147,7 +153,7 @@ jobs: nimbledeps/pkgs2 ~/.cache key: nimble-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('waku.nimble') }} - restore-keys: nimble-${{ runner.os }}-${{ runner.arch }}- + restore-keys: nimble-${{ runner.os }}-${{ runner.arch }} - name: Make update run: make update