File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,20 @@ jobs:
18
18
- name : Install PHP deps
19
19
uses : ramsey/composer-install@v2
20
20
21
- - name : Install Box
21
+ - name : Build
22
22
run : |
23
23
curl -O "https://github.com/box-project/box/releases/download/4.6.1/box.phar"
24
24
mv box.phar box
25
-
26
- - name : Build
27
- run : bash build.sh
28
-
25
+
26
+ php box compile
27
+ mkdir -p ./build
28
+ mv index.phar ./build/
29
+
30
+ cd build || exit
31
+ curl -O https://dl.static-php.dev/static-php-cli/common/php-8.3.4-micro-macos-aarch64.tar.gz -C -
32
+ tar -xvf php-8.3.4-micro-macos-aarch64.tar.gz
33
+ cat ./micro.sfx ./index.phar > ./phpup && chmod 0755 ./phpup
34
+
29
35
- name : Release
30
36
uses : softprops/action-gh-release@v2
31
37
if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 1
1
rm -rf ./build/phpup
2
2
rm -rf ./build/index.*
3
3
4
- php box compile
4
+ box compile
5
5
mkdir -p ./build
6
6
mv index.phar ./build/
7
7
You can’t perform that action at this time.
0 commit comments