Skip to content

Commit

Permalink
use github shared actions (#171)
Browse files Browse the repository at this point in the history
* use shared actions

Signed-off-by: Olivier Lamy <olamy@apache.org>

* fix reference

Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy committed Oct 15, 2021
1 parent 138d57e commit dd8e982
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/maven.yml
Expand Up @@ -21,26 +21,5 @@ on: [push, pull_request]

jobs:
build:

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

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

steps:
- name: Checkout
uses: actions/checkout@v2.3.4

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

- name: Build with Maven
run: mvn verify javadoc:javadoc -e -B -V
name: Build it
uses: codehaus-plexus/.github/.github/workflows/maven.yml@v0.0.1

0 comments on commit dd8e982

Please sign in to comment.