Skip to content

Commit

Permalink
trying to fix ci. distribution oracle forces us to go to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
SoLetsDev committed Oct 23, 2023
1 parent 0c7af98 commit 634e279
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-api-build.and.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
- uses: actions/setup-java@v1
with:
java-version: 11
distribution: oracle
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-5Jun-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-5Jun-
${{ runner.os }}-maven-
- name: Run unit tests
run: mvn -f pom.xml clean package
- name: Cache SonarCloud packages
Expand Down

0 comments on commit 634e279

Please sign in to comment.