From 3ea53f7e876626f2b1a9862b0f15d3fd8e997df0 Mon Sep 17 00:00:00 2001 From: Sebastian <13592751+MrSebastian@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:35:36 +0200 Subject: [PATCH] fix path to maven in workflow to for build without tests --- .github/workflows/create-ghcr-image-from-tag.yml | 2 +- .github/workflows/create-release-from-tag.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-ghcr-image-from-tag.yml b/.github/workflows/create-ghcr-image-from-tag.yml index 75d33aa5..20829cff 100644 --- a/.github/workflows/create-ghcr-image-from-tag.yml +++ b/.github/workflows/create-ghcr-image-from-tag.yml @@ -44,7 +44,7 @@ jobs: distribution: 'temurin' - name: build jar without tests - run: mvn -B -ntp -DskipTests package + run: mvn -B -ntp -DskipTests package -f ${{ steps.getTagNameParts.outputs.service }}/pom.xml - name: Log in to the Container registry uses: docker/login-action@v3 diff --git a/.github/workflows/create-release-from-tag.yml b/.github/workflows/create-release-from-tag.yml index 97d76e2d..eacb1517 100644 --- a/.github/workflows/create-release-from-tag.yml +++ b/.github/workflows/create-release-from-tag.yml @@ -42,7 +42,7 @@ jobs: distribution: 'temurin' - name: build jar without tests - run: mvn -B -ntp -DskipTests package + run: mvn -B -ntp -DskipTests package -f ${{ steps.getTagNameParts.outputs.service }}/pom.xml - name: Create GitHub Release id: create_release