Pārlūkot izejas kodu

update GHA flow

Daniel Bohry 1 gadu atpakaļ
vecāks
revīzija
52134fe6ff
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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