Skip to content

Commit

Permalink
ci: use JDK 21 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
monosoul committed Feb 10, 2024
1 parent 3ef1eda commit 4e74dc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Run tests
uses: gradle/actions/setup-gradle@v3
with:
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Publish plugin
uses: gradle/actions/setup-gradle@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-on-push-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Run tests
uses: gradle/actions/setup-gradle@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
- name: Run tests
uses: gradle/actions/setup-gradle@v3
with:
Expand Down

0 comments on commit 4e74dc9

Please sign in to comment.