From cbb51f4d9deb9675df51aa77952436827c706b09 Mon Sep 17 00:00:00 2001 From: nfebe Date: Sun, 8 Mar 2026 19:36:32 +0100 Subject: [PATCH] fix(ci): Correct matrix strategy for multi-arch builds The include entries were not cross-producting with php_version. Added platform as a proper matrix axis so all 4 combinations (2 PHP versions x 2 architectures) are built. --- .github/workflows/publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6664f2a..fbcee7e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,11 +21,12 @@ jobs: strategy: matrix: php_version: ['8.2', '8.4'] + platform: ['linux/amd64', 'linux/arm64'] include: - - runner: ubuntu-latest - platform: linux/amd64 - - runner: ubuntu-24.04-arm - platform: linux/arm64 + - platform: linux/amd64 + runner: ubuntu-latest + - platform: linux/arm64 + runner: ubuntu-24.04-arm steps: - name: Checkout