-
Notifications
You must be signed in to change notification settings - Fork 6
51 lines (47 loc) · 1.37 KB
/
cleanup-packages.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
49
50
51
name: Cleanup packages
on:
schedule:
- cron: '21 0 * * 6'
workflow_dispatch:
jobs:
clean-pr-packages:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm.NewtonsoftJson
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm.SystemTextJson
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm.MicrosoftExtensionsHttp
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm.CommandLine
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$
- uses: actions/delete-package-versions@v5
with:
package-name: Yardarm.Sdk
package-type: nuget
min-versions-to-keep: 30
ignore-versions: ^(?!.*ci-pr).*$