YETUS-992. Create and publish a github action
3 files changed
tree: dba7f175683d18c7c620da4662bc02c54250f74d
  1. .github/
  2. action.yml
  3. LICENSE
  4. README.md
README.md

Apache Yetus test-patch

This action enables Apache Yetus' change testing facilities via GitHub actions without significant configuration. To use it, add the following work flow:

---
name: Apache Yetus

on: [push, pull_request]  # yamllint disable-line rule:truthy

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - name: checkout
        uses: actions/checkout@v2
        with:
          path: src
          fetch-depth: 0
      - name: Apache Yetus test-patch
        uses: apache/yetus-test-patch-action@v1
        with:
          basedir: ./src
          patchdir: ./out
          buildtool: nobuild
      - name: Artifact output
        if: ${{ always() }}
        uses: actions/upload-artifact@v2
        with:
          name: apacheyetuspatchdir
          path: ${{ github.workspace }}/out

For more information, see the Apache Yetus Website.