Simplify fail fast configuration (#7)

1 file changed
tree: bada32ec90a6c4ce5f654824e55420076fc64e32
  1. .github/
  2. .gitignore
  3. LICENSE
  4. pom.xml
  5. README.md
README.md

Apache Maven shared GitHub Actions

Usage

Create GitHub workflow in project with content:

name: Verify

on:
  push:
    branches-ignore:
      - dependabot/**
  pull_request:

jobs:
  build:
    name: Verify
    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main

Excludes from build matrix:

...
    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main
    with:
      matrix-exclude: >
        [ 
          {"jdk": "8"},   # exclude jdk 8 from all builds
          {"os": "windows-latest"}, # exclude windows from all builds
          {"jdk": "8", "os": "windows-latest"} # exclude jkd 8 on windows
        ]

Resources