Skip to content

Commit

Permalink
Update CI Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Apr 20, 2023
1 parent 78e1e05 commit c3fea77
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
if: github.event_name == 'pull_request'
run: git checkout -B ${{ github.head_ref }}

- name: set up JDK 11
- name: set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 19
distribution: "temurin"
cache: 'gradle'

Expand All @@ -66,19 +66,18 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
# api-level 19 is min sdk, but throws errors related to desugaring
api-level: [ 21, 29 ]
api-level: [ 21, 33 ]

permissions:
contents: read

steps:
- uses: actions/checkout@v3

- name: set up JDK 11
- name: set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 19
distribution: "temurin"
cache: 'gradle'

Expand Down Expand Up @@ -108,10 +107,10 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up JDK 11
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 11 # Sonar requires JDK 11
java-version: 19
distribution: "temurin"
cache: 'gradle'

Expand Down

0 comments on commit c3fea77

Please sign in to comment.