Skip to content

Add v0.2.0 changes

Add v0.2.0 changes #27

Workflow file for this run

name: Release
on: push
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2
- name: Install PHP deps
uses: ramsey/composer-install@v2
- name: Build
run: |
curl -OL "https://github.com/box-project/box/releases/latest/download/box.phar"
mv box.phar box
php box compile
mkdir -p ./build
mv index.phar ./build/
cd build || exit
curl -OL https://dl.static-php.dev/static-php-cli/common/php-8.3.6-micro-macos-aarch64.tar.gz -C -
tar -xvf php-8.3.6-micro-macos-aarch64.tar.gz
cat ./micro.sfx ./index.phar > ./phpup && chmod 0755 ./phpup
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build/phpup