Skip to content

Commit b765b31

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] java versions
1 parent 10a63ad commit b765b31

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/java-gradle.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
matrix:
3030
os: ["windows-2022", "ubuntu-24.04", "macos-14"]
31-
java: ['20', '21', '22']
31+
java: ['22', '23', '24']
3232
runs-on: ${{ matrix.os }}
3333

3434
steps:
@@ -39,6 +39,13 @@ jobs:
3939
java-version: ${{ matrix.java }}
4040
distribution: temurin
4141

42+
- name: Tool test
43+
run: |
44+
echo "Java version: ${{ matrix.java }}"
45+
java -version
46+
echo "OS: ${{ matrix.os }}"
47+
echo "Gradle version:"
48+
./gradlew --version
4249
- name: Validate Gradle wrapper
4350
uses: gradle/actions/wrapper-validation@v4
4451

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Algorithm Exercises (Java 20)
1+
# Algorithm Exercises (Java 22, 23, 24)
22

33
[![Java with Gradle](https://github.com/sir-gon/algorithm-exercises-java/actions/workflows/java-gradle.yml/badge.svg)](https://github.com/sir-gon/algorithm-exercises-java/actions/workflows/java-gradle.yml)
44
[![Markdown Lint](https://github.com/sir-gon/algorithm-exercises-java/actions/workflows/markdown-lint.yml/badge.svg)](https://github.com/sir-gon/algorithm-exercises-java/actions/workflows/markdown-lint.yml)
@@ -244,9 +244,9 @@ Developed with runtime:
244244

245245
```text
246246
java --version
247-
java version "20.0.2" 2023-07-18
248-
Java(TM) SE Runtime Environment (build 20.0.2+9-78)
249-
Java HotSpot(TM) 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)
247+
java 24.0.1 2025-04-15
248+
Java(TM) SE Runtime Environment (build 24.0.1+9-30)
249+
Java HotSpot(TM) 64-Bit Server VM (build 24.0.1+9-30, mixed mode, sharing)
250250
```
251251

252252
## Algorithm excersices sources

0 commit comments

Comments
 (0)