File tree Expand file tree Collapse file tree 1 file changed +9
-31
lines changed Expand file tree Collapse file tree 1 file changed +9
-31
lines changed Original file line number Diff line number Diff line change 1717
1818name : GitHub CI
1919
20- on : [ push, pull_request ]
20+ on : [push, pull_request]
2121
2222jobs :
2323 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-
46- - name : Set up JDK
47- uses : actions/setup-java@v3
48- with :
49- distribution : adopt
50- java-version : ${{ matrix.java }}
51-
52- - name : Build with Maven
53- run : mvn --batch-mode --errors --show-version verify
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