Skip to content

Commit 2dd163c

Browse files
author
Tyler Coles
committed
Fixed setup-java workflow steps.
I was referencing old documentation.
1 parent 77150f4 commit 2dd163c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Setup JDK
1717
uses: actions/setup-java@v3
1818
with:
19-
java-version: 1.8
19+
java-version: '8'
20+
distriubtion: 'temurin'
2021
cache: maven
2122
- name: Build with Maven
2223
run: mvn --batch-mode package

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
- name: Set up repo
1414
uses: actions/setup-java@v3
1515
with:
16-
java-version: 1.8
16+
java-version: '8'
17+
distriubtion: 'temurin'
1718
server-id: ossrh
1819
server-username: MAVEN_USERNAME
1920
server-password: MAVEN_PASSWORD

0 commit comments

Comments
 (0)