diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c01637..219dc86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,9 @@ jobs: - name: Install PHP deps uses: ramsey/composer-install@v2 + - name: Install Box + run: wget -O box "https://github.com/box-project/box/releases/download/4.6.1/box.phar" + - name: Build run: bash build.sh diff --git a/build.sh b/build.sh index d0bec1a..7a1ad58 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ rm -rf ./build/phpup rm -rf ./build/index.* -box compile +php box compile mkdir -p ./build mv index.phar ./build/