File tree Expand file tree Collapse file tree 1 file changed +8
-29
lines changed Expand file tree Collapse file tree 1 file changed +8
-29
lines changed Original file line number Diff line number Diff line change @@ -21,32 +21,11 @@ on: [push, pull_request]
21
21
22
22
jobs :
23
23
build :
24
-
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
- - name : Checkout
35
- uses : actions/checkout@v4
36
-
37
- - name : Set up cache for ~./m2/repository
38
- uses : actions/cache@v3
39
- with :
40
- path : ~/.m2/repository
41
- key : maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
42
- restore-keys : |
43
- maven-${{ matrix.os }}-java${{ matrix.java }}-
44
- maven-${{ matrix.os }}-
45
- - name : Set up JDK
46
- uses : actions/setup-java@v4
47
- with :
48
- distribution : ' adopt'
49
- java-version : ${{ matrix.java }}
50
-
51
- - name : Build with Maven
52
- run : mvn install javadoc:javadoc -e -B -V
24
+ name : Build it
25
+ uses : codehaus-plexus/.github/.github/workflows/maven.yml@master
26
+
27
+ deploy :
28
+ name : Deploy
29
+ needs : build
30
+ uses : codehaus-plexus/.github/.github/workflows/maven-deploy.yml@master
31
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments