Test Java Version 11 JetBrains #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Java Version 11 JetBrains | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java_version: ['11.0.10', '11.0.11'] | |
steps: | |
# Step 1: Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Step 2: Set up Java with the JetBrains distribution for both versions | |
- name: Set up Java ${{ matrix.java_version }} | |
uses: gmitch215/setup-java@main | |
with: | |
distribution: 'jetbrains' | |
java-version: ${{ matrix.java_version }} |