Apache Yetus test-patch GitHub Action

Clone this repo:
  1. f27363e Bump actions/upload-artifact from 3 to 4 (#18) by dependabot[bot] · 11 months ago main
  2. b51f3ea Bump actions/checkout from 2 to 4 (#16) by dependabot[bot] · 1 year, 4 months ago
  3. baf5729 Bump actions/upload-artifact from 2 to 3 (#17) by dependabot[bot] · 1 year, 4 months ago
  4. f01269c YETUS-1228. Enable dependabot github actions scanning across all repos (#15) by Allen Wittenauer · 1 year, 4 months ago
  5. a443181 YETUS-1183. release script for yetus-test-patch-action still uses doc… (#13) by Allen Wittenauer · 2 years, 7 months 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.