File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
sapi/src/builder/extension Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 9999
100100 - name : prepare
101101 run : |
102- export PATH=${{ github.workspace }}/runtime:$PATH
103- alias php="php -d curl.cainfo=${{ github.workspace }}/runtime/cacert.pem -d openssl.cafile=${{ github.workspace }}/runtime/cacert.pem"
102+ export PATH=${{ github.workspace }}/runtime/php/ :$PATH
103+ alias php="php -d curl.cainfo=${{ github.workspace }}/runtime/php/ cacert.pem -d openssl.cafile=${{ github.workspace }}/runtime/php /cacert.pem"
104104
105105 composer install --no-interaction --no-autoloader --no-scripts --profile --no-dev
106106 composer dump-autoload --optimize --profile --no-dev
@@ -109,7 +109,7 @@ jobs:
109109
110110 - name : Build
111111 run : |
112- export PATH=${{ github.workspace }}/runtime:$PATH
112+ export PATH=${{ github.workspace }}/runtime/php/ :$PATH
113113
114114 bash make-install-deps.sh
115115
Original file line number Diff line number Diff line change 44use SwooleCli \Extension ;
55
66return function (Preprocessor $ p ) {
7- $ file = new SplFileObject ($ p ->getWorkDir () . '/sapi/SWOOLE-VERSION.conf ' );
8-
7+ $ file = new SplFileObject (realpath (__DIR__ . '/../../../../sapi/SWOOLE-VERSION.conf ' ));
98 $ swoole_tag = trim ($ file ->current ());
109 // $swoole_tag = 'v6.0.1';
1110 $ file = "swoole- {$ swoole_tag }.tar.gz " ;
12-
1311 $ url = "https://github.com/swoole/swoole-src/archive/refs/tags/ {$ swoole_tag }.tar.gz " ;
1412
1513 $ options = [];
You can’t perform that action at this time.
0 commit comments