From 549a4ad81b3ce062f73d6469a25ba5a9fa473090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20Moreno?= Date: Sun, 26 May 2024 12:57:57 +0200 Subject: [PATCH] Upgraded Java version in workflows (II) - Updated tests.yml workflow --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fa4d3a..5d77087 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,13 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: ${{ startsWith(matrix.version, '1.16') && '11' || (startsWith(matrix.version, '1.17') && '16' || '21') }} + java-version: ${{ + startsWith(matrix.version, '1.16') && '11' || + startsWith(matrix.version, '1.17') && '16' || + startsWith(matrix.version, '1.18') && '17' || + startsWith(matrix.version, '1.19') && '17' || + '21' + }} # Setup Node.js - name: Setup Node.js