Skip to content

Commit

Permalink
Update CI to use Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Binero committed Apr 23, 2024
1 parent 84ed5ca commit 5d62341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
# Use these Java versions
java: [
17 # Latest version
21 # Latest version
]
# and run on both Linux and Windows
os: [ ubuntu-latest, windows-latest ]
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Build
run: ./gradlew build
- name: Capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from LTS java on one OS
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from LTS java on one OS
uses: actions/upload-artifact@v3
with:
name: Artifacts
Expand Down

0 comments on commit 5d62341

Please sign in to comment.