Skip to content

Commit 4c60c31

Browse files
author
Botond Somogyi
committed
s
1 parent af3c9ca commit 4c60c31

3 files changed

Lines changed: 6 additions & 19 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
23+
java_version: [ '11', '17' ]
2324
os: [ ubuntu-latest, windows-latest, macOS-latest ]
2425
steps:
2526
- uses: actions/checkout@v2
26-
- name: Set up JDKs
27+
- name: Set up JDK ${{ matrix.java_version }}
2728
uses: actions/setup-java@v5
2829
with:
2930
distribution: 'temurin'
30-
java-version: |
31-
11
32-
17
31+
java-version: ${{ matrix.java_version }}
3332
- name: Grant execute permission for gradlew
3433
run: chmod +x gradlew
3534
- name: Build with Gradle
@@ -40,13 +39,11 @@ jobs:
4039
runs-on: ubuntu-latest
4140
steps:
4241
- uses: actions/checkout@v2
43-
- name: Set up JDKs
42+
- name: Set up JDK 17
4443
uses: actions/setup-java@v5
4544
with:
4645
distribution: 'temurin'
47-
java-version: |
48-
11
49-
17
46+
java-version: 17
5047
- name: Grant execute permission for gradlew
5148
run: chmod +x gradlew
5249
- name: Jar

‎.github/workflows/codeql.yml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v3
4242

43-
- name: Set up JDKs
44-
uses: actions/setup-java@v5
45-
with:
46-
distribution: 'temurin'
47-
java-version: |
48-
11
49-
17
50-
5143
# Initializes the CodeQL tools for scanning.
5244
- name: Initialize CodeQL
5345
uses: github/codeql-action/init@v2

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
uses: actions/setup-java@v5
2121
with:
2222
distribution: 'temurin'
23-
java-version: |
24-
11
25-
17
23+
java-version: 17
2624
- name: Grant execute permission for gradlew
2725
run: chmod +x gradlew
2826
- name: Jar

0 commit comments

Comments
 (0)