Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 18, 2025
1 parent 2648227 commit 0498e7c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
strategy:
matrix:
# Use these Java versions
java: [
21, # Current Java LTS & minimum supported by Minecraft
]
java: [ 21 ]
distro: [ temurin ]
# and run on both Linux and Windows
os: [ ubuntu-20.04, windows-2022 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
Expand All @@ -25,7 +24,7 @@ jobs:
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: ${{ matrix.distro }}
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
Expand Down

0 comments on commit 0498e7c

Please sign in to comment.