Skip to content

Commit

Permalink
Shared GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 14, 2021
1 parent 8cbefaa commit 0b4434d
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,15 @@
# specific language governing permissions and limitations
# under the License.

name: GitHub CI
name: Verify

on: [push, pull_request]
on:
push:
branches-ignore:
- dependabot/**
pull_request:

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest,windows-latest, macOS-latest]
java: [8, 11, 17]
jdk: [adopt-hotspot, zulu, temurin]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/[email protected]
with:
cache: 'maven'
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}

- name: Build with Maven
run: mvn install javadoc:javadoc -Prun-its -e -B -V
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1

0 comments on commit 0b4434d

Please sign in to comment.