YETUS-992. Create and publish a github action (2nd) (#2)

2 files changed
tree: 87b6042a995538c134384ca448352387e687ea05
  1. .github/
  2. action.yml
  3. LICENSE
  4. NOTICE
  5. 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.