Skip to content

Commit

Permalink
fix: update ci to use jdk21
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Apr 4, 2024
1 parent 4a894de commit 17b6383
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
java-version: 21
java-package: jdk

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -46,7 +46,7 @@ jobs:
continue-on-error: true

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: c2me-artifact
path: 'build/libs/*.jar'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
testTask: [runTestC2MEServer]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 17
java-version: 21
java-package: jdk

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
}
stage('Build') {
tools {
jdk "OpenJDK 17"
jdk "OpenJDK 21"
}
steps {
withMaven(
Expand Down

0 comments on commit 17b6383

Please sign in to comment.