Skip to content

Commit

Permalink
Keeping only latest 10 nightly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
remmintan committed May 13, 2023
1 parent 9200758 commit 8d022ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_NUMBER: ${{ github.run_number }}

- name: Delete packages, keep most recent
uses: actions/delete-package-versions@v4
with:
package-name: 'org.minefortress.minefortress-nightly'
package-type: 'maven'
min-versions-to-keep: 10

0 comments on commit 8d022ae

Please sign in to comment.