From 7677c7e0478804d73d4d6833545b604b26d0c786 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Sep 2025 10:04:58 +0200 Subject: [PATCH] add runner architecture to the action cache --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 65f6370..eb86db6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,8 +30,9 @@ jobs: - uses: actions/cache@v4 with: path: lib/obj/ - key: ${{runner.os}}-lib/obj-${{github.sha}} - restore-keys: ${{runner.os}}-lib/obj- + # I swear to god, if runner.arch displays x64 for x86_64, I will eat a potato. + key: ${{runner.os}}_${{runner.arch}}-lib/obj-${{github.sha}} + restore-keys: ${{runner.os}}_${{runner.arch}}-lib/obj- - run: make -Bj libs - run: make -j all - run: make -j test