Skip to content

Commit

Permalink
use setup-java for unit tests, since Java 21 is not built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
xvrl committed Oct 4, 2023
1 parent edfdc0f commit 2ec7174
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/unit-and-integration-tests-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v3

- name: setup jdk${{ matrix.jdk }}
run: |
echo "JAVA_HOME=$JAVA_HOME_${{ matrix.jdk }}_X64" >> $GITHUB_ENV
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
cache: 'maven'

- name: Cache Maven m2 repository
id: maven
Expand Down

0 comments on commit 2ec7174

Please sign in to comment.