CI: github: add the architecture to the cache key for vtest2
Some checks are pending
Contrib / build (push) Waiting to run
alpine/musl / gcc (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

ARM runners can't use the same build as the other x86_64 ones, add the
architecture to the cache key so it caches and gets the right one.
This commit is contained in:
William Lallemand 2026-04-08 11:16:59 +02:00
parent 8745d2cf8e
commit 052feec33f

View file

@ -31,7 +31,7 @@ runs:
uses: actions/cache@v5
with:
path: ${{ github.workspace }}/vtest
key: vtest-${{ runner.os }}-${{ steps.vtest-sha.outputs.sha }}
key: vtest-${{ runner.os }}-${{ runner.arch }}-${{ steps.vtest-sha.outputs.sha }}
- name: Install VTest
if: steps.cache-vtest.outputs.cache-hit != 'true'