File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
3939
4040 env :
41- php-version : ' 8.5'
42- extensions : grpc
4341 key : cache-grpc
4442
4543 steps :
5250 id : extcache
5351 uses : shivammathur/cache-extensions@v1
5452 with :
55- php-version : ${{ env.php-version }}
56- extensions : ${{ env.extensions }}
53+ php-version : 8.5
54+ extensions : grpc
5755 key : ${{ env.key }}
5856
5957 - name : Cache extensions
7573 - name : Setup problem matchers for PHP
7674 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
7775
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-
8976 - uses : " ramsey/composer-install@v3"
9077
9178 - name : Setup Problem Matchers for PHPUnit
You can’t perform that action at this time.
0 commit comments