github: Enable retention periods for uploaded artifacts.

This prevents Zulip CI from eventually consuming large amounts of
storage on one's GitHub account.

I picked a longer retention period for the Puppeteer artifacts because
humans look at those; the production tarballs are unlikely to be used
10 minutes after the run completes as they are just for the next stage
fo the build; certainly 14 days seems ample for any debugging.
This commit is contained in:
Tim Abbott 2020-11-03 16:36:23 -08:00
parent eae14baa05
commit b6ec66e972
2 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,7 @@ jobs:
with:
name: production-tarball
path: /tmp/production-build
retention-days: 14
production_install:
strategy:

View File

@ -148,6 +148,7 @@ jobs:
with:
name: puppeteer
path: ./var/puppeteer
retention-days: 60
- name: Check development database build
if: ${{ matrix.is_focal }}