From 8c181adf98851748654dd2760ac1182e6a8f6ee4 Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Fri, 13 Dec 2024 18:25:06 +1100 Subject: [PATCH] Update build-wheels workflow Prune nightly wheels older than 3 days instead of 30. --- .github/workflows/build-wheels.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 792847926d2..4a76ef99737 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -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 diff --git a/README.md b/README.md index d0584d58751..63562bc9c5c 100644 --- a/README.md +++ b/README.md @@ -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