File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,13 @@ name: Maven deploy Snapshots
2222
2323on :
2424 push :
25- branches :
26- - main
2725
2826jobs :
2927 build :
3028 runs-on : ubuntu-latest
3129 strategy :
3230 matrix :
33- java : [ 11, 17, 21, 24 ]
31+ java : [ 17, 21, 24 ]
3432 name : Java ${{ matrix.java }} build
3533
3634 steps :
@@ -54,11 +52,11 @@ jobs:
5452
5553 - name : Publish to the Maven Central Repository
5654 run : mvn --batch-mode --update-snapshots -P release-snapshot deploy
57- if : matrix.java == 11
55+ if : matrix.java == 17
5856 env :
5957 MAVEN_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
6058 MAVEN_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
6159
6260 - name : Maven Build
6361 run : mvn --batch-mode --update-snapshots install
64- if : matrix.java != 11
62+ if : matrix.java != 17
You can’t perform that action at this time.
0 commit comments