Skip to content

Commit cda87a7

Browse files
author
Robbie Plankenhorn
committed
Setting up Java.
1 parent 91d5ee2 commit cda87a7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
- name: Checkout the code
1616
uses: actions/checkout@v5
1717

18-
- name: Set up JDK 11
18+
- name: Set up JDK
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: '11'
22-
distribution: 'temurin'
21+
java-version-file: '.tool-versions'
2322

2423
- name: Cache Gradle packages
2524
uses: actions/cache@v4

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
java zulu-17.46.19

0 commit comments

Comments
 (0)