Skip to content

Commit

Permalink
Update to JDK 21 (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Aug 28, 2024
1 parent efbec22 commit c76517a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### :thinking: DOD Checklist

- [ ] I did all relevant changes to the documentation and the [changelog](https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md).
- [] I did all relevant changes to the documentation and the [changelog](https://github.com/Foso/Ktorfit/blob/master/docs/CHANGELOG.md).
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- name: API check
run: ./gradlew ktLintCheck apiCheck
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
java-version: 21
distribution: 'temurin'
- name: Cache Gradle and wrapper
uses: actions/cache@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-converters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v4

Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v3

Expand All @@ -31,11 +31,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v3

Expand All @@ -52,11 +52,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v3

Expand All @@ -73,11 +73,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v3

Expand All @@ -94,11 +94,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install JDK 11
- name: Install JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
distribution: 'temurin'
java-version: 21

- uses: gradle/gradle-build-action@v3

Expand Down

0 comments on commit c76517a

Please sign in to comment.