Apache Yetus test-patch GitHub Action

Clone this repo:

Branches

  1. 160f55e YETUS-992. Create and publish a github action (#3) (#4) by Allen Wittenauer · 4 days ago main
  2. 86755c0 YETUS-992. Create and publish a github action (#3) by Allen Wittenauer · 11 days ago
  3. 9cfef95 YETUS-992. Create and publish a github action by Allen Wittenauer · 13 days ago
  4. da89899 YETUS-992. Create and publish a github action (2nd) (#2) by Allen Wittenauer · 3 weeks ago
  5. 169662e YETUS-992. Create and publish a github action by Allen Wittenauer · 4 weeks ago

Apache Yetus test-patch

This action enables Apache Yetus' change testing facilities via GitHub actions without significant configuration. For simple usage (with bleeding edge versions), 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@main
        with:
          basedir: ./src
          patchdir: ./out
          buildtool: nobuild
          githubtoken: ${{ secrets.GITHUB_TOKEN }}
      - name: Artifact output
        if: ${{ always() }}
        uses: actions/upload-artifact@v2
        with:
          name: apacheyetuspatchdir
          path: ${{ github.workspace }}/out

For more complex usage or just more information in general, see the Apache Yetus Website.