diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 911e487..ba1e55d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,13 +30,20 @@ jobs: with: images: upcintua/jaqpot-test - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - name: Update version in build.gradle.kts run: >- sed -i "s#{{VERSION_PLACEHOLDER}}#${{ steps.meta.outputs.tags }}#g" build.gradle.kts + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build with Gradle + run: ./gradlew build - name: Build docker image run: | ./gradlew build diff --git a/build.gradle.kts b/build.gradle.kts index 301de90..4a0f532 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -120,7 +120,7 @@ openApiGenerate { // Dockerize tasks.named("bootBuildImage") { environment.set( - mapOf("BP_JVM_VERSION" to "21") + mapOf("BP_JVM_VERSION" to "17") ) imageName = "upcintua/jaqpot-api" }