Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Commit 60b51df

Browse files
authored
Update maven-publish.yml
1 parent 21fbe19 commit 60b51df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: Build with Maven
3232
run: mvn -B package --file pom.xml
3333

34+
- uses: actions/delete-package-versions@v1
35+
with:
36+
num-old-versions-to-delete: 1
37+
3438
- name: Publish to GitHub Packages Apache Maven
3539
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3640
env:

0 commit comments

Comments
 (0)