Skip to content

v1.0.4

v1.0.4 #12

Workflow file for this run

name: Build PHAR
on:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- 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
with:
files: build/svgtinyps.phar