diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-11-13 12:28:04 +0000 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-11-13 17:42:01 +0000 |
| commit | 83ad9c927952474f1adeb03bd67331288ed6d6d9 (patch) | |
| tree | b1a2626375e07e43d8c412c9adcc78f0f4130f5e /.github/workflows/build.yml | |
| parent | fb2672afb2d8236d5291cd028196c99d8e4d47f1 (diff) | |
build: Make use of Gradle's Java Toolchains feature
This change updates the build configuration for Gradle to make use of
its Java Toolchains feature which enables running/testing multiple Java
versions at the same time. This feature can also provision a Java
installation if it is not available on the user's system.
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79bbe4d9..96b86233 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: java: [ 17, 19 ] include: - os: windows-latest - java: 19 + java: 17 steps: - name: Checkout repository uses: actions/checkout@v3 @@ -36,7 +36,7 @@ jobs: cache-read-only: ${{ github.ref != 'refs/heads/main' }} - name: Publish report if: always() - uses: mikepenz/action-junit-report@v3.5.2 + uses: mikepenz/action-junit-report@v3 with: check_name: test (Java ${{ matrix.java }}) report_paths: '**/build/test-results/test/TEST-*.xml' |
