Skip to content

Commit 0910667

Browse files
committed
Added maven profile
1 parent 6457f32 commit 0910667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
java: [ '11', '17', '21' ]
33+
java: [ 11, 17, 21, 24 ]
3434
name: Java ${{ matrix.java }} build
3535

3636
steps:
@@ -53,7 +53,7 @@ jobs:
5353
${{ runner.os }}-maven-
5454
5555
- name: Publish to the Maven Central Repository
56-
run: mvn --batch-mode --update-snapshots deploy
56+
run: mvn --batch-mode --update-snapshots -P release deploy
5757
if: matrix.java == 11
5858
env:
5959
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)