chore(gitlab-ci): more explicit artifact expiration

This commit is contained in:
Gregor Kleen 2021-02-24 13:01:59 +01:00
parent 6115b83bb3
commit f98b0e826c

View File

@ -150,6 +150,7 @@ yesod:build:
paths: paths:
- bin/ - bin/
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
expire_in: "1 week"
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
@ -179,6 +180,7 @@ yesod:build:profile:
paths: paths:
- bin/ - bin/
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
expire_in: "1 week"
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /(^|\/)profile($|\/)/ - if: $CI_COMMIT_REF_NAME =~ /(^|\/)profile($|\/)/