Skip to content

Cleanup Pre-release Packages #585

Cleanup Pre-release Packages

Cleanup Pre-release Packages #585

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Cleanup Pre-release Packages
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/delete-package-versions@v4
name: Monai.Deploy.Storage
with:
package-name: 'Monai.Deploy.Storage'
package-type: nuget
min-versions-to-keep: 10
delete-only-pre-release-versions: "true"
- uses: actions/delete-package-versions@v4
name: Monai.Deploy.Storage.S3Policy
with:
package-name: 'Monai.Deploy.Storage.S3Policy'
package-type: nuget
min-versions-to-keep: 10
delete-only-pre-release-versions: "true"
- uses: actions/delete-package-versions@v4
name: Monai.Deploy.Storage.MinIO
with:
package-name: 'Monai.Deploy.Storage.MinIO'
package-type: nuget
min-versions-to-keep: 10
delete-only-pre-release-versions: "true"
- uses: actions/delete-package-versions@v4
name: Monai.Deploy.Storage.AWSS3
with:
package-name: 'Monai.Deploy.Storage.AWSS3'
package-type: nuget
min-versions-to-keep: 10
delete-only-pre-release-versions: "true"