Commit 0679110
authored
Delete old releases (#21)
Releasing the wheels has been failing for a month now
https://github.com/llvm/torch-mlir-release/actions/runs/19032410905/job/54349329471#step:7:30
due to the GH limit that each release artifact can only have a maximum
of 1000 artifacts (some discussion captured here
https://github.com/orgs/community/discussions/165616).
This PR has two changes:
1. I have added a CI that will remove assets older than 60 days -- we
release 4 assets daily (3 for linux + 1 for windows). So technically
this can be increased to 250 days but I don't know if there is a need to
keep assets that old. I have chosen 60 days since I recall seeing
somewhere that's how long PyTorch keep their nightly releases but I
couldn't find that now.
An alternative to keeping all the assets will probably be to release the
assets with new name daily but seems overkill to me. Open to other
suggestions as well.
2. Added the `artifactErrorsFailBuild` flag on the release CIs which I
think will cause the builds to fail if the upload step fails --
currently the build doesn't fail which is why I think we didn't notice
this earlier.1 parent 0dddf63 commit 0679110
File tree
3 files changed
+37
-0
lines changed- .github/workflows
3 files changed
+37
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments