Skip to content

Commit

Permalink
move to java 17 (#329)
Browse files Browse the repository at this point in the history
* move to java 17

* move to java 17

* remove schedule
  • Loading branch information
jonathanlukas authored Oct 24, 2023
1 parent aa4cbe1 commit 5086aba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<version.kotlin>1.8.21</version.kotlin>

<version.spring.boot>3.1.5</version.spring.boot>
<version.java>11</version.java>
<version.java>17</version.java>
<java.version>${version.java}</java.version>

<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down

0 comments on commit 5086aba

Please sign in to comment.