Skip to content

Delete Nightly Packages #48

Delete Nightly Packages

Delete Nightly Packages #48

name: Delete Nightly Packages
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
permissions:
packages: write
jobs:
delete:
name: Clean Up Nightly Packages
runs-on: ubuntu-latest
strategy:
matrix:
module:
[
services/jvm/zenei,
services/zenei
]
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: ${{ matrix.module }}
package-type: "container"
ignore-versions: "^(?!.*-nightly).*$"
min-versions-to-keep: 3