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.
This commit is contained in:
michael-grunder
2026-06-14 09:36:26 -07:00
committed by Michael Grunder
parent 738cedd284
commit f14ce6007b
+5
View File
@@ -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