Skip to content

Commit

Permalink
try java 17 due to sonar plugin soon dropping support for java 11 scans
Browse files Browse the repository at this point in the history
checkout v4, gradle-build-action v2
  • Loading branch information
gmuth committed Nov 1, 2023
1 parent c7a0113 commit 37de758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
# https://github.com/marketplace/actions/setup-java-jdk
- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
# https://github.com/marketplace/actions/gradle-build-action
- name: Gradle build
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v2
# with:
# gradle-version: 7.6.2
# arguments: test build
Expand Down

0 comments on commit 37de758

Please sign in to comment.