Browse Source

update GHA flow

Daniel Bohry 1 năm trước cách đây
mục cha
commit
52134fe6ff
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      .github/workflows/buildAndRelease.yml

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

@@ -27,6 +27,11 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
+      - 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
       - name: Login to Docker Hub