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:
31
31
uses : shivammathur/setup-php@v2
32
32
with :
33
33
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
41
34
- name : Verify headers
42
35
if : " ${{ matrix.version >= '8.0' }}"
43
36
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;
46
47
- name : phpize
47
48
run : phpize
48
49
- name : configure
You can’t perform that action at this time.
0 commit comments