mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
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:
committed by
Michael Grunder
parent
738cedd284
commit
f14ce6007b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user