File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22
22
matrix :
23
23
java : [ '8' ]
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v3
26
26
- name : Setup Java JDK
27
- uses : actions/setup-java@v2
27
+ uses : actions/setup-java@v3
28
28
with :
29
29
distribution : ' temurin'
30
30
java-version : ${{ matrix.java }}
@@ -41,10 +41,10 @@ jobs:
41
41
run : mvn verify
42
42
43
43
- name : Set up for Sonatype
44
- uses : actions/setup-java@v2
44
+ uses : actions/setup-java@v3
45
45
with : # running setup-java again overwrites the settings.xml
46
46
distribution : ' temurin'
47
- java-version : ' 8 '
47
+ java-version : ${{ matrix.java }}
48
48
server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
49
49
server-username : SONATYPE_USERNAME # env variable for username in deploy
50
50
server-password : SONATYPE_PASSWORD # env variable for token in deploy
54
54
55
55
- name : Publish to Sonatype (Snapshots)
56
56
if : github.event_name != 'pull_request' && github.event_name != 'release'
57
- run : mvn --batch-mode deploy -P'deploy-sonatype' - DskipTests=true -Dmaven.javadoc.skip =true
57
+ run : mvn --batch-mode deploy -DskipTests=true
58
58
env :
59
59
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
60
60
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
Original file line number Diff line number Diff line change 12
12
matrix :
13
13
java : [ '8' ]
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v3
16
16
- name : Setup Java JDK
17
- uses : actions/setup-java@v2
17
+ uses : actions/setup-java@v3
18
18
with :
19
19
distribution : ' temurin'
20
20
check-latest : true
29
29
run : echo ${{ steps.extract_branch.outputs.branch }}
30
30
31
31
- name : Build Java Project
32
- run : mvn install -P'release' -Dchangelist= -Dlicense.skipUpdateLicense=true - DskipTests=true -B -V --file pom.xml
32
+ run : mvn install -P'release' -Dchangelist= -DskipTests=true -B -V --file pom.xml
33
33
34
34
- name : Unit Tests
35
35
run : mvn test
38
38
run : mvn verify
39
39
40
40
- name : Set up for Sonatype
41
- uses : actions/setup-java@v2
41
+ uses : actions/setup-java@v3
42
42
with : # running setup-java again overwrites the settings.xml
43
43
distribution : ' temurin'
44
44
check-latest : true
Original file line number Diff line number Diff line change 12
12
matrix :
13
13
java : [ '8' ]
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v3
16
16
- name : Setup Java JDK
17
- uses : actions/setup-java@v2
17
+ uses : actions/setup-java@v3
18
18
with :
19
19
distribution : ' temurin'
20
20
java-version : ${{ matrix.java }}
You can’t perform that action at this time.
0 commit comments