Skip to content

Commit

Permalink
Add java-dist
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDrakify authored Sep 18, 2024
1 parent 85ca8cf commit 445a86d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ jobs:
matrix:
# Use these Java versions
java: [ 21 ]
# Use these Java versions
java-dist: [ temurin ]
# and run on both Linux and Windows
os: [ubuntu-20.04]
os: [ ubuntu-20.04 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
Expand All @@ -23,6 +25,7 @@ jobs:
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java-dist }}
java-version: ${{ matrix.java }}
- name: Make Gradle Wrapper Executable
if: ${{ runner.os != 'Windows' }}
Expand Down

0 comments on commit 445a86d

Please sign in to comment.