]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: add the architecture to the cache key for vtest2 20260427-vtest2-failure flx04/20260427-vtest2-failure
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Apr 2026 09:16:59 +0000 (11:16 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Apr 2026 09:16:59 +0000 (11:16 +0200)
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.

.github/actions/setup-vtest/action.yml

index c487ba504c0b4e54e03dcd20fb08e3861c3ef620..2b986ae746283d7326aefb55dd724d6bd5ae86a4 100644 (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'