Skip to content

Commit 7dbced7

Browse files
committed
Update GitHub Actions to use Java 21 for builds
Build with Java 21 (matching local development environment) while maintaining Java 11 bytecode compatibility via sourceCompatibility setting.
1 parent 3e88920 commit 7dbced7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
- name: Set up JDK 11
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '11'
23-
distribution: 'temurin'
22+
java-version: '21'
23+
distribution: 'microsoft'
2424

2525
- name: Grant execute permission for gradlew
2626
run: chmod +x gradlew

0 commit comments

Comments
 (0)