{"id":19028846,"url":"https://github.com/phingofficial/phing-github-action","last_synced_at":"2025-04-23T15:45:33.115Z","repository":{"id":66251128,"uuid":"300903250","full_name":"phingofficial/phing-github-action","owner":"phingofficial","description":"Run your Phing Build in your Github Actions.","archived":false,"fork":false,"pushed_at":"2020-10-10T21:52:32.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T22:03:58.019Z","etag":null,"topics":["ant","build","build-tool","github-actions","phing","php"],"latest_commit_sha":null,"homepage":"https://www.phing.info","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phingofficial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T14:46:13.000Z","updated_at":"2023-10-01T06:54:55.000Z","dependencies_parsed_at":"2023-05-04T07:47:46.962Z","dependency_job_id":null,"html_url":"https://github.com/phingofficial/phing-github-action","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phingofficial%2Fphing-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phingofficial","download_url":"https://codeload.github.com/phingofficial/phing-github-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250463198,"owners_count":21434742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant","build","build-tool","github-actions","phing","php"],"created_at":"2024-11-08T21:12:27.562Z","updated_at":"2025-04-23T15:45:33.094Z","avatar_url":"https://github.com/phingofficial.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://raw.githubusercontent.com/phingofficial/phing-github-action/main/action.svg\" width=\"50\" /\u003e Phing GitHub Action\nRun your Phing Build in your GitHub Actions.\n\n\u003e **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.\n\n## Configuration\n\nCreate your GiTHub Workflow config in `.github/workflows/build.yml` or similar to run your **phing** `build.xml`\n\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n```\n\n### General parameters\n\n| parameter | description | default |\n|---|---|---|\n| buildfile       | location of the build file                        | `build.xml` |\n| targets         | targets to run as space separated list            | n/a         |\n| user-properties | user properties as space separated list [a=b c=d] | n/a         |\n| version         | phing version to use                              | 2.16.3      |\n\n#### To execute a build with `custom/path/to/build.xml` as a phing build file use:\n\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n        with:\n            buildfile: custom/path/to/build.xml\n```\n\n#### Run targets:\n\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n        with:\n            targets: build deploy\n```\n\n#### Invoke with user properties:\n\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n        with:\n            user-properties: foo=bar my=self you=too\n```\n\n### Control output:\n\n| parameter | description |\n|---|---|\n| quiet         | be extra quiet                                    |\n| silent        | print nothing but task outputs and build failures |\n| verbose       | be extra verbose                                  |\n| debug         | print debugging information                       |\n| emacs         | produce logging information without adornments    |\n| longtargets   | show target descriptions during build             |\n\n**It does not matter which value was set to activate the options.\nSo `verbose: false` will also enable verbose logging.**\n\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n        with:\n            verbose: true\n            debug: true\n```\n\n### Versions\n\nBy default, the action will use `phing 2.16.3`.\nTo change that behavior use the action with the `version` parameter.\n```yaml\nname: CI\n\non: [push]\n\njobs:\n  build-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Phing Build\n        uses: phingofficial/phing-github-action@main\n        with:\n            version: 3.0.0-alpha4\n```\n\n## Phing in Action\n\n[Example \"Phing Build\" Project](https://github.com/phingofficial/phing-github-action-example/runs/1203313448?check_suite_focus=true#step:4:9)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphingofficial%2Fphing-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphingofficial%2Fphing-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphingofficial%2Fphing-github-action/lists"}