Skip to content

Fix a small issue

Fix a small issue #8

Workflow file for this run

name: Build PHAR
on:
push:
jobs:
build-phar:
name: Build PHAR
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ["8.1"]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: pmmp/[email protected]
with:
php-version: ${{ matrix.php }}
install-path: "./bin"
pm-version-major: "5"
- uses: "ramsey/composer-install@v2"
with:
working-directory: "vendor-bin/php-cs-fixer"
- name: Build PHAR file
run: composer run-script build
- uses: actions/upload-artifact@v3
with:
name: oh-my-pmmp
path: oh-my-pmmp.phar