Optimizing uploads and downloads
In Chapter 2, particularly in the section about artifact management, we discussed Time-To-Live (TTL) for uploaded artifacts and its impact on their lifespan in storage containers. However, we haven’t yet addressed storage capacity constraints in accounts. At the time of writing this book, GitHub offers a monthly quota of 500 MB for the account structure we used in this book. However, so you are aware and for further details on storage options, refer to the following link: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes.
Establishing an optimal default artifact and log retention policy for our organization is crucial. By standard practice, artifacts uploaded via the actions/upload-artifact
action or REST endpoint, without a specified retention TTL, remain accessible for 90 days. Considering our storage limitations, this duration might be unnecessarily long...