Skip to content

Commit 0076758

Browse files
committed
Reuse plexus-pom action for CI
1 parent 3e3529b commit 0076758

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

.github/workflows/maven.yml

+8-26
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,11 @@ on: [push, pull_request]
2121

2222
jobs:
2323
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11, 17, 20]
29-
jdk: [temurin]
30-
fail-fast: false
31-
32-
runs-on: ${{ matrix.os }}
33-
34-
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v4
37-
38-
- name: Set up JDK
39-
uses: actions/setup-java@v4
40-
with:
41-
distribution: ${{ matrix.jdk }}
42-
java-version: ${{ matrix.java }}
43-
cache: 'maven'
44-
45-
- name: Build with Maven
46-
run: mvn install javadoc:javadoc -e -B -V
47-
48-
- name: Build with Maven and target Java level - ${{ matrix.java }}
49-
run: mvn clean install javadoc:javadoc -e -DjavaVersion=${{ matrix.java }}
24+
name: Build it
25+
uses: codehaus-plexus/.github/.github/workflows/maven.yml@master
26+
27+
deploy:
28+
name: Deploy
29+
needs: build
30+
uses: codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master
31+
secrets: inherit

0 commit comments

Comments
 (0)