Daniel Bohry 1 年之前
父節點
當前提交
04dbbcc860
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      .github/workflows/buildAndRelease.yml

+ 5 - 0
.github/workflows/buildAndRelease.yml

@@ -41,6 +41,11 @@ jobs:
           path: /tmp/.buildx-cache
           key: ${{ runner.os }}-buildx-${{ github.sha }}
           restore-keys: ${{ runner.os }}-buildx-
+      - name: Set up JDK
+        uses: actions/setup-java@v3
+        with:
+          java-version: '17'
+          distribution: 'temurin'
       - name: Build the Docker image
         run: ./mvnw spring-boot:build-image -DskipTests
       - name: Login to Docker Hub