Skip to content

Commit 8f453bd

Browse files
committed
Reuse plexus-pom action for CI
1 parent 9fa6f19 commit 8f453bd

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

.github/workflows/maven.yml

+7-23
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,11 @@ on: [push, pull_request]
2121

2222
jobs:
2323
build:
24+
name: Build it
25+
uses: codehaus-plexus/.github/.github/workflows/maven.yml@master
2426

25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11, 17]
29-
jdk: [temurin, zulu, adopt-openj9]
30-
include:
31-
- os: ubuntu-latest
32-
java: 21
33-
jdk: corretto
34-
fail-fast: false
35-
36-
runs-on: ${{ matrix.os }}
37-
38-
steps:
39-
- uses: actions/checkout@v4
40-
- uses: actions/setup-java@v3
41-
with:
42-
distribution: ${{ matrix.jdk }}
43-
java-version: ${{ matrix.java }}
44-
cache: 'maven'
45-
46-
- name: Build with Maven
47-
run: mvn install javadoc:javadoc site -e -B -V -Pno-tests-if-not-on-osx
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)