-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (39 loc) · 1.32 KB
/
package-cleanup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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"