Skip to content

Commit

Permalink
Bump actions/setup-java from 1 to 4 (#117)
Browse files Browse the repository at this point in the history
* Bump actions/setup-java from 1 to 4

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v1...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Add distribution to setup-java configuration

Signed-off-by: Michael Edgar <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Michael Edgar <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Edgar <[email protected]>
  • Loading branch information
dependabot[bot] and MikeEdgar authored Dec 15, 2023
1 parent 84e8d0e commit d1518de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ jobs:
- uses: actions/checkout@v4
name: Checkout

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
name: Setup JDK ${{matrix.java}}
with:
distribution: 'temurin'
java-version: ${{matrix.java}}

- name: Cache Maven packages
Expand All @@ -53,8 +54,9 @@ jobs:
- run: |
git fetch --prune --unshallow --tags --force
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11

- name: Cache SonarCloud packages
Expand Down

0 comments on commit d1518de

Please sign in to comment.