We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ed7fc commit c0309c9Copy full SHA for c0309c9
1 file changed
.github/workflows/grpc-tests.yml
@@ -75,6 +75,17 @@ jobs:
75
- name: Setup problem matchers for PHP
76
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
77
78
+ - name: Detect gRPC extension
79
+ id: grpc
80
+ run: |
81
+ if php -m | grep -qi '^grpc$'; then
82
+ echo "grpc_present=true" >> "$GITHUB_OUTPUT"
83
+ else
84
+ echo "grpc_present=false" >> "$GITHUB_OUTPUT"
85
+ echo "COMPOSER_IGNORE_PLATFORM_REQ=ext-grpc" >> "$GITHUB_ENV"
86
+ echo "gRPC extension not available; allowing Composer to proceed without ext-grpc."
87
+ fi
88
+
89
- uses: "ramsey/composer-install@v3"
90
91
- name: Setup Problem Matchers for PHPUnit
0 commit comments