Skip to content

Commit 45c2e88

Browse files
committed
Reuse plexus-pom action for CI
1 parent 5b38c77 commit 45c2e88

File tree

1 file changed

+7
-21
lines changed

1 file changed

+7
-21
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +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, 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-
- name: Set up JDK
38-
uses: actions/setup-java@v3
39-
with:
40-
cache: 'maven'
41-
distribution: ${{ matrix.jdk }}
42-
java-version: ${{ matrix.java }}
43-
44-
- name: Build with Maven
45-
run: mvn install javadoc:javadoc -e -B -V
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)