Skip to content

Commit 690ee24

Browse files
authored
Add a deploy build (#178)
1 parent 7f5f443 commit 690ee24

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,11 @@ on: [push, pull_request]
2121

2222
jobs:
2323
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest]
28-
java: [8, 11, 17]
29-
jdk: [temurin]
30-
fail-fast: false
31-
32-
runs-on: ${{ matrix.os }}
33-
34-
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v3
37-
38-
- name: Set up JDK
39-
uses: actions/setup-java@v3
40-
with:
41-
java-version: ${{ matrix.java }}
42-
distribution: ${{ matrix.jdk }}
43-
cache: 'maven'
44-
45-
- name: Build with Maven
46-
run: mvn install -e -B -V
24+
name: Build it
25+
uses: codehaus-plexus/.github/.github/workflows/maven.yml@v0.0.5
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)