Skip to content

Commit 2d1e2bc

Browse files
committed
fix: github actions now using java 21
1 parent a0089bd commit 2d1e2bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
# Use these Java versions
9-
java: [17]
9+
java: [21]
1010
# and run on both Linux and Windows
1111
os: [ubuntu-20.04, windows-latest]
1212
runs-on: ${{ matrix.os }}
@@ -25,7 +25,7 @@ jobs:
2525
- name: build
2626
run: ./gradlew build
2727
- name: capture build artifacts
28-
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
28+
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
2929
uses: actions/upload-artifact@v2
3030
with:
3131
name: Artifacts

0 commit comments

Comments
 (0)