From a39bab1a9452c10838cc25953b07ff542bbe06f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mat=C4=9Bj=C4=8Dek?= Date: Fri, 1 Nov 2024 23:08:23 +0100 Subject: [PATCH] GitHub Actions - configurable maven version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Matějček --- .github/workflows/docker-publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5103b18..c62a68a 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -27,10 +27,12 @@ jobs: uses: actions/checkout@v4 - name: Maven Configure - uses: actions/setup-java@v4 + uses: s4u/setup-maven-action@v1.15.0 with: - java-version: '21' - distribution: 'temurin' + checkout-enabled: false + java-version: 21 + java-distribution: 'temurin' + maven-version: 3.9.9 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3