From 89332dfb2dff4f103ed0aa10f9babf8d6b197fd6 Mon Sep 17 00:00:00 2001 From: Bas Huisman Date: Tue, 22 Oct 2024 10:59:32 +0200 Subject: [PATCH] Create maven-publish.yml --- .github/workflows/maven-publish.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/maven-publish.yml diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 0000000..7d56631 --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,24 @@ +name: Build Image + +on: + push: + branches: [ "development" ] + pull_request: + branches: [ "development" ] + +jobs: + image: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: "liberica" + cache: maven + + - name: Build with Maven + run: mvn -ntp -B spring-boot:build-image