Skip to content

Commit 93bfd8f

Browse files
committed
Updating Github actions to simplify JDK setup
1 parent 4d7b246 commit 93bfd8f

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

.github/workflows/java.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,11 @@ jobs:
3030
repository: zodac/advent-of-code-inputs
3131
token: ${{ secrets.SUBMODULE_ACCESS }}
3232

33-
- name: Set up JDK
34-
uses: actions/setup-java@v4
35-
with:
36-
cache: 'maven'
37-
distribution: 'temurin'
38-
java-version: '23'
39-
4033
- name: Cache local .m2
4134
uses: actions/cache@v4
4235
with:
4336
path: ~/.m2/repository
44-
key: ${{ runner.os }}-maven-${{ hashFiles('**.pom.xml') }}
37+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
4538
restore-keys: |
4639
${{ runner.os }}-maven-
4740

.github/workflows/license_update.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ jobs:
3232
repository: zodac/advent-of-code-inputs
3333
token: ${{ secrets.SUBMODULE_ACCESS }}
3434

35-
- name: Set up JDK
36-
uses: actions/setup-java@v4
37-
with:
38-
cache: 'maven'
39-
distribution: 'temurin'
40-
java-version: '23'
41-
4235
- name: Cache local .m2
4336
uses: actions/cache@v4
4437
with:

.github/workflows/version_update.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ jobs:
3232
repository: zodac/advent-of-code-inputs
3333
token: ${{ secrets.SUBMODULE_ACCESS }}
3434

35-
- name: Set up JDK
36-
uses: actions/setup-java@v4
37-
with:
38-
cache: 'maven'
39-
distribution: 'temurin'
40-
java-version: '23'
41-
4235
- name: Cache local .m2
4336
uses: actions/cache@v4
4437
with:

0 commit comments

Comments
 (0)