Skip to content

Commit

Permalink
Added more info and example
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 committed Oct 3, 2020
1 parent eef4f73 commit 9bad1bb
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,44 @@ Run your Phing Build in your Github Actions.

> **PH**ing **I**s **N**ot **G**NU 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.
[Example Phing Build](https://github.com/phingofficial/phing-github-action-example/runs/1203313448?check_suite_focus=true#step:4:9)
## Configuration

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@main
```

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@main
with:
buildfile: custom/path/to/build.xml
```

## Phing in Action

[Example "Phing Build" Project](https://github.com/phingofficial/phing-github-action-example/runs/1203313448?check_suite_focus=true#step:4:9)

0 comments on commit 9bad1bb

Please sign in to comment.