Skip to content

Commit

Permalink
Upgraded Java version in workflows (III)
Browse files Browse the repository at this point in the history
- Updated tests.yml workflow
  • Loading branch information
josemmo committed May 26, 2024
1 parent 549a4ad commit 424aa67
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
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'
}}
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
Expand Down

0 comments on commit 424aa67

Please sign in to comment.