Skip to content

Commit

Permalink
[Android] Use JDK 11 instead of 17 for building
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipRoman committed Sep 24, 2023
1 parent bc180ae commit d2028ac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checkstyle.yml
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
- name: Code Style Check
run: mvn -B checkstyle:check --file pom.xml
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
- name: Build
run: mvn -DskipTests package --file pom.xml
Expand All @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
- name: Test
run: mvn test --file pom.xml
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Expand Up @@ -11,10 +11,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v1
Expand Down

0 comments on commit d2028ac

Please sign in to comment.