diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 884719d..a8b8aa8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,8 +1,6 @@
name: Build project with Maven
on:
pull_request:
- schedule:
- - cron: '2 2 * * 1-5' # run nightly master builds on weekdays
jobs:
build:
@@ -13,7 +11,7 @@ jobs:
- name: Java setup
uses: actions/setup-java@e54a62b3df9364d4b4c1c29c7225e57fe605d7dd # pin@v1
with:
- java-version: 11
+ java-version: 17
- name: Cache
uses: actions/cache@99d99cd262b87f5f8671407a1e5c1ddfa36ad5ba # pin@v1
with:
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 2142499..cfde97a 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -25,7 +25,7 @@ jobs:
- name: Set up Java environment
uses: actions/setup-java@e54a62b3df9364d4b4c1c29c7225e57fe605d7dd # pin@v1
with:
- java-version: 11
+ java-version: 17
gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }}
gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE
- name: Login to Docker
diff --git a/pom.xml b/pom.xml
index 3e5defd..eac7975 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
1.8.21
3.1.5
- 11
+ 17
${version.java}
${java.version}