Skip to content

Commit e6e9ba6

Browse files
Use Maven Apache shared GitHub action
1 parent d7cb1c5 commit e6e9ba6

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

.github/workflows/maven.yml

+2-27
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,5 @@ on: [push, pull_request]
2121

2222
jobs:
2323
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest]
28-
java: [8, 11, 17, 20]
29-
jdk: [temurin]
30-
include:
31-
- java: 11
32-
os: windows-latest
33-
jdk: temurin
34-
- java: 11
35-
os: macos-latest
36-
jdk: temurin
37-
fail-fast: false
38-
39-
runs-on: ${{ matrix.os }}
40-
41-
steps:
42-
- uses: actions/checkout@v3
43-
- uses: actions/setup-java@v3
44-
with:
45-
distribution: ${{ matrix.jdk }}
46-
java-version: ${{ matrix.java }}
47-
cache: 'maven'
48-
49-
- name: Build with Maven
50-
run: mvn clean verify -e -B -V javadoc:javadoc site site:stage
24+
name: Verify
25+
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3

0 commit comments

Comments
 (0)