Browse Source

Fix pipeline (#4)

Daniel Bohry 1 year ago
parent
commit
e43ea75860
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/buildAndRelease.yml

+ 3 - 3
.github/workflows/buildAndRelease.yml

@@ -23,10 +23,9 @@ jobs:
         uses: actions/setup-java@v3
         with:
           java-version: '21'
+          distribution: 'temurin'
       - name: Build with Gradle
-        run: |
-          chmod +x ./gradlew
-          ./gradlew clean build test
+        run: chmod +x ./gradlew && ./gradlew clean build test
 
   dockerize:
     name: Dockerize Application
@@ -46,6 +45,7 @@ jobs:
         uses: actions/setup-java@v3
         with:
           java-version: '21'
+          distribution: 'temurin'
       - name: Build the Docker image
         run: ./gradlew bootBuildImage --no-daemon --info --stacktrace