Prechádzať zdrojové kódy

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

Ali-RS 2 rokov pred
rodič
commit
c97a6d364d
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      .github/workflows/main.yml

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

@@ -304,6 +304,13 @@ jobs:
         with:
           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...
       - name: Download maven artifacts
         uses: actions/download-artifact@master