Skip to content

Commit

Permalink
Skip required extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
nmtho committed Nov 25, 2023
1 parent 1bc4a32 commit 0d9a635
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
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/setup-php-action@2.0.0
with:
php-version: ${{ matrix.php }}
install-path: "./bin"
pm-version-major: "5"

- uses: "ramsey/composer-install@v2"
with:
working-directory: "vendor-bin/box"

- name: Build PHAR file
run: composer run-script build

- uses: actions/upload-artifact@v3
with:
name: oh-my-pmmp
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/setup-php-action@2.0.0
with:
php-version: ${{ matrix.php }}
install-path: "./bin"
pm-version-major: "5"

- uses: "ramsey/composer-install@v2"
with:
working-directory: "vendor-bin/box"
composer-options: "--ignore-platform-reqs --optimize-autoloader"

- name: Build PHAR file
run: composer run-script build

- uses: actions/upload-artifact@v3
with:
name: oh-my-pmmp
path: oh-my-pmmp.phar

0 comments on commit 0d9a635

Please # to comment.