Skip to content

Commit 70169ab

Browse files
committed
Reuse plexus-pom action for CI
1 parent 1c62e47 commit 70169ab

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,15 @@
1717

1818
name: GitHub CI
1919

20-
on: [ push, pull_request ]
20+
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-
fail-fast: false
30-
31-
runs-on: ${{ matrix.os }}
32-
33-
steps:
34-
- uses: actions/checkout@v4
35-
- uses: actions/setup-java@v3
36-
with:
37-
distribution: adopt
38-
java-version: ${{ matrix.java }}
39-
cache: 'maven'
40-
41-
- name: Build with Maven
42-
run: mvn --batch-mode --errors --show-version verify site
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)