Skip to content

Commit

Permalink
build: added default JDK in build workflow [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc3n4 committed Nov 28, 2024
1 parent c4ddb86 commit 5d3ff0b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,21 @@ jobs:
with:
fetch-depth: 1

- name: Set up JDK
- name: Set up additional JDK
uses: actions/setup-java@v4
if: matrix.pluginJavaVersion != '21'
with:
distribution: temurin
java-version: ${{ matrix.pluginJavaVersion }}
architecture: x64

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
architecture: x64

- name: Cache Gradle's cache and wrapper
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 5d3ff0b

Please sign in to comment.