Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imreallybadatnames committed May 9, 2024
1 parent abfafd3 commit c978e43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
strategy:
matrix:
# Use these Java versions
java: [17] # Current Java LTS & minimum supported by Minecraft
java: [21] # Current Java LTS & minimum supported by Minecraft
# Test on both Linux and Windows
os: [ubuntu-20.04, windows-latest]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -38,7 +38,7 @@ jobs:

- name: capture build artifacts
# Only capture artifacts from one OS (Linux)
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
Expand Down

0 comments on commit c978e43

Please sign in to comment.