From 0f49b3026e423cf9b67d3a5c0833e7227ddd6c48 Mon Sep 17 00:00:00 2001
From: SoLetsDev <74216496+SoLetsDev@users.noreply.github.com>
Date: Mon, 23 Oct 2023 10:36:04 -0700
Subject: [PATCH] trying to do setup java with 17 even though project is in 11
---
.github/workflows/ci-api-build.and.test.yml | 5 +++--
api/pom.xml | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci-api-build.and.test.yml b/.github/workflows/ci-api-build.and.test.yml
index b373b055..32f040cd 100644
--- a/.github/workflows/ci-api-build.and.test.yml
+++ b/.github/workflows/ci-api-build.and.test.yml
@@ -28,9 +28,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v3
with:
- java-version: 11
+ java-version: 17
+ distribution: oracle
- uses: actions/cache@v3
with:
path: ~/.m2/repository
diff --git a/api/pom.xml b/api/pom.xml
index 7f0e7da2..a5385c61 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -16,7 +16,7 @@
src/main/resources/**,src/main/java/ca/bc/gov/educ/penreg/api/endpoint/**,src/main/java/ca/bc/gov/educ/penreg/api/config/**,
src/main/java/ca/bc/gov/educ/penreg/api/mappers/**,src/main/java/ca/bc/gov/educ/penreg/api/exception/**,src/main/java/ca/bc/gov/educ/penreg/api/model/**,src/main/java/ca/bc/gov/educ/penreg/api/struct/**
- 11
+ 17
3.8.0
${java.version}