Skip to content

.phar file with release #2

.phar file with release

.phar file with release #2

Workflow file for this run

name: Build .phar for relase
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer:v2
- name: Install Dependencies
run: composer install
- name: Generate PHAR file
run: composer box compile
- name: Upload phar to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/svgtinyps.phar