add runner architecture to the action cache

This commit is contained in:
2025-09-15 10:04:58 +02:00
parent a14ef55262
commit ec36d8c475

View File

@@ -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