Skip to content

Commit

Permalink
Update build-wheels workflow
Browse files Browse the repository at this point in the history
Prune nightly wheels older than 3 days instead of 30.
  • Loading branch information
cjdsellers committed Dec 13, 2024
1 parent 83694b7 commit 8c181ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ jobs:
mkdir -p simple/nautilus-trader/
# Prune old wheels
echo "Pruning wheels older than 30 days"
find simple/nautilus-trader/ -type f -mtime +30 -name "*.whl" -exec rm -f {} \;
echo "Pruning wheels older than 3 days"
find simple/nautilus-trader/ -type f -mtime +3 -name "*.whl" -exec rm -f {} \;
# Check wheels
if [ -z "$(ls -A ../dist/*.whl)" ]; then
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ To install a specific nightly build (e.g. 1.208.0.dev20241212):
**Notes**:
- The `develop` branch is merged into the `nightly` branch daily at **14:00 UTC**.
- The version naming convention is `dev.{date}`, where `{date}` corresponds to the UTC build date (e.g., 1.208.0.dev20241212 for a nightly build on December 12, 2024).
- The nightly wheels have a **lookback window of 30 days**; wheels older than 30 days are automatically removed.
- The nightly wheels currently have a **lookback window of 3 days**; wheels older than 3 days are automatically removed.

## Versioning and releases

Expand Down

0 comments on commit 8c181ad

Please sign in to comment.