File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,19 @@ jobs:
3131 uses : shivammathur/setup-php@v2
3232 with :
3333 php-version : ${{matrix.version}}
34- - name : Checkout "php/php-src"
35- if : " ${{ matrix.version >= '8.0' }}"
36- uses : actions/checkout@v3
37- with :
38- repository : php/php-src
39- ref : php-8.2.0
40- path : php-src
4134 - name : Verify headers
4235 if : " ${{ matrix.version >= '8.0' }}"
4336 run : |
44- HEADERS_IN_SYNC=$(php php-src/build/gen_stub.php .)
45- if [[ ! -z $HEADERS_IN_SYNC ]]; then echo 'Headers are not in sync with "ibm_db2.stub.php".' && exit 1; fi;
37+ wget https://github.com/nikic/PHP-Parser/archive/refs/tags/v4.15.1.tar.gz
38+ tar xvzf v4.15.1.tar.gz
39+ rm v4.15.1.tar.gz
40+ wget https://raw.githubusercontent.com/php/php-src/php-8.2.3/build/gen_stub.php
41+ HEADERS_IN_SYNC=$(php gen_stub.php .)
42+ if [[ ! -z $HEADERS_IN_SYNC ]]; then
43+ echo 'Headers are not in sync with "ibm_db2.stub.php".' && exit 1;
44+ else
45+ echo 'Headers are in sync with "ibm_db2.stub.php".'
46+ fi;
4647 - name : phpize
4748 run : phpize
4849 - name : configure
You can’t perform that action at this time.
0 commit comments