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 - uses: actions/cache@v4
with: with:
path: lib/obj/ path: lib/obj/
key: ${{runner.os}}-lib/obj-${{github.sha}} # I swear to god, if runner.arch displays x64 for x86_64, I will eat a potato.
restore-keys: ${{runner.os}}-lib/obj- key: ${{runner.os}}_${{runner.arch}}-lib/obj-${{github.sha}}
restore-keys: ${{runner.os}}_${{runner.arch}}-lib/obj-
- run: make -Bj libs - run: make -Bj libs
- run: make -j all - run: make -j all
- run: make -j test - run: make -j test