Skip to content

Commit

Permalink
Working on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Dec 9, 2024
1 parent 5e8c49a commit 60a5526
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,22 @@ jobs:
path: repo

merge-repos:
name: Merge Maven Repositories
runs-on: ubuntu-latest
needs: build
if: success() || failure()
steps:
- 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

0 comments on commit 60a5526

Please sign in to comment.