Skip to content

Commit

Permalink
updated workflow actions, including Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoodward committed Jul 26, 2024
1 parent a079e64 commit f5942ec
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v2
uses: actions/checkout@v4

# https://github.com/actions/setup-java
- name: Install JDK 11
uses: actions/setup-java@v2
- name: Install JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
distribution: 'temurin'
java-version: 17
cache: 'maven'

# https://github.com/actions/cache
- name: Cache Maven dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
# Cache entire ~/.m2/repository
path: ~/.m2/repository
Expand Down

0 comments on commit f5942ec

Please sign in to comment.