You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Run a Phing Build
v1.1.2
Run your Phing Build in your Github Actions.
PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP "task" classes make it an easy-to-use and highly flexible build framework.
Create your Github Workflow config in .github/workflows/build.yml
or similar to run your build against build.xml
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Phing Build
uses: phingofficial/phing-github-action@v1
To execute a build with custom/path/to/build.xml
as a phing build file use:
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Phing Build
uses: phingofficial/phing-github-action@v1
with:
buildfile: custom/path/to/build.xml
Run targets:
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Phing Build
uses: phingofficial/phing-github-action@main
with:
targets: build deploy