Skip to content

Commit

Permalink
use gh action shared from ASF (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
olamy committed Jun 3, 2022
1 parent 4c375aa commit e60a38e
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,9 @@

name: GitHub CI

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

jobs:
build:

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

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

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with Maven
run: mvn clean verify -e -B -V -P run-its site -Preporting
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2

0 comments on commit e60a38e

Please sign in to comment.