Skip to content

Commit 8c8bf51

Browse files
committed
use shared actions
Signed-off-by: Olivier Lamy <[email protected]>
1 parent 138d57e commit 8c8bf51

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/maven.yml

+2-21
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,7 @@ on: [push, pull_request]
2121

2222
jobs:
2323
build:
24+
name: Build it
25+
uses: codehaus-plexus/.github/.github/workflows/[email protected]
2426

25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest, windows-latest, macOS-latest]
28-
java: [8, 11, 16, 17-ea]
29-
jdk: [temurin, zulu, adopt-openj9]
30-
fail-fast: false
3127

32-
runs-on: ${{ matrix.os }}
33-
34-
steps:
35-
- name: Checkout
36-
uses: actions/[email protected]
37-
38-
- name: Set up JDK
39-
uses: actions/[email protected]
40-
with:
41-
cache: 'maven'
42-
distribution: ${{ matrix.jdk }}
43-
java-version: ${{ matrix.java }}
44-
45-
- name: Build with Maven
46-
run: mvn verify javadoc:javadoc -e -B -V

0 commit comments

Comments
 (0)