Skip to content

Commit e2421a7

Browse files
committed
update ci to use java 21
1 parent 559bb23 commit e2421a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- name: Fetch Project
1212
uses: actions/checkout@v4
13-
- name: Setting Up Java 17
13+
- name: Setting Up Java 21
1414
uses: actions/setup-java@v4
1515
with:
16-
java-version: '17'
16+
java-version: '21'
1717
distribution: 'zulu'
1818
cache: maven
1919
- name: Build and Package Plugin
@@ -24,7 +24,7 @@ jobs:
2424
echo "artifactPath=${artifactPath}" >> $GITHUB_ENV
2525
echo "artifactName=${artifactName}" >> $GITHUB_ENV
2626
echo git_hash=${git_hash} >> $GITHUB_ENV
27-
mvn clean package
27+
mvn clean install -DskipTests
2828
mv "${artifactPath}/${artifactName}.jar" "${artifactPath}/${artifactName}-${git_hash}.jar"
2929
- name: Upload Artifact
3030
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)