Skip to content

Commit c97a6d3

Browse files
authored
Fix #1923 (OSSRH artifacts are build with different java version) (#1924)
1 parent 458e9ec commit c97a6d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

+7
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,13 @@ jobs:
304304
with:
305305
fetch-depth: 1
306306

307+
# Setup jdk 17 used for building Sonatype OSSRH artifacts
308+
- name: Setup the java environment
309+
uses: actions/setup-java@v3
310+
with:
311+
distribution: 'temurin'
312+
java-version: '17'
313+
307314
# Download all the stuff...
308315
- name: Download maven artifacts
309316
uses: actions/download-artifact@master

0 commit comments

Comments
 (0)