2
0
Эх сурвалжийг харах

Fix #1923 (OSSRH artifacts are build with different java version) (#1924)

Ali-RS 2 жил өмнө
parent
commit
c97a6d364d

+ 7 - 0
.github/workflows/main.yml

@@ -304,6 +304,13 @@ jobs:
         with:
         with:
           fetch-depth: 1
           fetch-depth: 1
 
 
+      # Setup jdk 17 used for building Sonatype OSSRH artifacts
+      - name: Setup the java environment
+        uses: actions/setup-java@v3
+        with:
+          distribution: 'temurin'
+          java-version: '17'
+
       # Download all the stuff...
       # Download all the stuff...
       - name: Download maven artifacts
       - name: Download maven artifacts
         uses: actions/download-artifact@master
         uses: actions/download-artifact@master