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/release.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/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73ec0a4d..4f62843c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,6 @@ jobs: build: name: Build OpenDC runs-on: ubuntu-latest - strategy: - matrix: - java: [ 17 ] steps: - name: Checkout repository uses: actions/checkout@v3 @@ -20,7 +17,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: ${{ matrix.java }} + java-version: 17 - name: Publish with Gradle uses: gradle/gradle-build-action@v2 with: |
