From f14ce6007bf7576b0ca4f043b10ab303b3328126 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sun, 14 Jun 2026 09:36:26 -0700 Subject: [PATCH] fix: Use the git sha instead of branch name for Windows CI The `/` gets turned into a path separator breaking CI on Windows. This commit attempts to send the commit sha instead which will never have slashes. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3288d59d..84ef8789 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -288,6 +288,11 @@ jobs: php-version: ${{ matrix.php }} ts: ${{ matrix.ts }} run-tests: false + # The builder embeds the ref in the build-log/artifact filename without + # sanitizing it. A branch like "fix/foo" turns the "/" into a path + # separator on Windows and the build fails. Pass the commit SHA so the + # name is always slash-free. + extension-ref: ${{ github.sha }} pecl: runs-on: ubuntu-latest