File tree Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -25,37 +25,13 @@ jobs:
25
25
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26
26
restore-keys : ${{ runner.os }}-m2
27
27
- name : Build
28
- run : ./mvnw clean verify -DskipTests=true
29
- # run: ./mvnw clean verify
30
-
31
- test :
32
- name : Test
33
- needs : build
34
- runs-on : ubuntu-latest
35
- steps :
36
- - uses : actions/checkout@v3
37
- with :
38
- fetch-depth : 0
39
- - name : Set up JDK 11
40
- uses : actions/setup-java@v3
41
- with :
42
- java-version : 11
43
- distribution : ' zulu'
44
- - name : Cache Maven packages
45
- uses : actions/cache@v3
46
- with :
47
- path : ~/.m2
48
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
49
- restore-keys : ${{ runner.os }}-m2
50
- - name : Build
51
- run : ./mvnw clean package install -DskipTests=true
52
- # - name: Build, test
53
- # run: ./mvnw -B test
28
+ run : ./mvnw clean install -DskipTests=true
29
+ # run: ./mvnw clean install
54
30
55
31
publish-OSSRH :
56
32
runs-on : ubuntu-latest
57
33
name : Publish to Maven Central
58
- needs : test
34
+ needs : install
59
35
permissions :
60
36
contents : read
61
37
packages : write
You can’t perform that action at this time.
0 commit comments