Skip to content

Commit 39b33e4

Browse files
committed
Trying to fix build
1 parent 68fdc8d commit 39b33e4

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,20 @@ jobs:
1818
- name: Install PHP deps
1919
uses: ramsey/composer-install@v2
2020

21-
- name: Install Box
21+
- name: Build
2222
run: |
2323
curl -O "https://github.com/box-project/box/releases/download/4.6.1/box.phar"
2424
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+
2935
- name: Release
3036
uses: softprops/action-gh-release@v2
3137
if: startsWith(github.ref, 'refs/tags/')

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
rm -rf ./build/phpup
22
rm -rf ./build/index.*
33

4-
php box compile
4+
box compile
55
mkdir -p ./build
66
mv index.phar ./build/
77

0 commit comments

Comments
 (0)