From 60a55266fff8e6f2c5161b6bc15001b7091eebd8 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Mon, 9 Dec 2024 03:20:35 +0100 Subject: [PATCH] Working on workflow --- .github/workflows/build-prs.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-prs.yml b/.github/workflows/build-prs.yml index 947902c..b60014c 100644 --- a/.github/workflows/build-prs.yml +++ b/.github/workflows/build-prs.yml @@ -63,6 +63,7 @@ jobs: path: repo merge-repos: + name: Merge Maven Repositories runs-on: ubuntu-latest needs: build if: success() || failure() @@ -70,6 +71,14 @@ jobs: - name: Download all artifacts uses: actions/download-artifact@v4 with: + pattern: repo-* path: repo merge-multiple: true - - run: find + # the maven-metadata will only be from a single repo and thus wrong + - name: Remove incorrect maven-metadata files + run: find -name maven-metadata.xml* -exec rm {} \; + - name: Upload repository for PR-Publishing + uses: actions/upload-artifact@v4 + with: + name: maven-publish + path: repo