Skip to content

Commit e67ab9f

Browse files
authored
Reuse plexus-pom action for CI (#65)
1 parent 628b04e commit e67ab9f

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,16 @@
1616
# under the License.
1717

1818
name: GitHub CI
19-
on:
20-
push:
21-
pull_request:
2219

23-
jobs:
20+
on: [push, pull_request]
2421

22+
jobs:
2523
build:
2624
name: Build it
2725
uses: codehaus-plexus/.github/.github/workflows/maven.yml@master
28-
with:
29-
jdk-fast-fail-build: '11'
30-
jdk-matrix: '["11", "17", "18", "19-ea"]'
31-
jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica","corretto"]'
32-
os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]'
33-
matrix-exclude: '[
34-
{ "jdk": "18", "distribution": "microsoft" },
35-
{ "jdk": "19-ea", "distribution": "corretto" },
36-
{ "jdk": "19-ea", "distribution": "liberica" },
37-
{ "jdk": "19-ea", "distribution": "microsoft" },
38-
{ "jdk": "19-ea", "distribution": "temurin" }
39-
]'
40-
maven_args: 'install javadoc:javadoc -e -B -V -fae -Pno-tests-if-not-on-osx'
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)