Skip to content

Commit

Permalink
ci: bump jdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-draeger committed Nov 29, 2023
1 parent eae2354 commit d68aa94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
java-version:
- 8
- 17
os:
- ubuntu-latest
- windows-2019
Expand All @@ -43,15 +43,15 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
distribution: 'temurin'

- name: Build with Gradle
run: |
./gradlew build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
if: ${{ matrix.java-version == '8' && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.java-version == '17' && matrix.os == 'ubuntu-latest' }}
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./build/reports/kover/report.xml
Expand Down Expand Up @@ -94,4 +94,4 @@ jobs:
- name: Upload static code analysis results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'zulu'
java-version: 17
distribution: 'temurin'

- name: Build with Gradle
run: |
Expand Down

0 comments on commit d68aa94

Please sign in to comment.