[librsvg/librsvg-2.48] ci: merge artifacts definitions



commit 997eb6dbca56fc2178e322ea0aa17721de60572e
Author: Jordan Petridis <jpetridis gnome org>
Date:   Wed Jun 3 21:05:32 2020 +0300

    ci: merge artifacts definitions
    
    In theory multiple declarations of `artifacts` are allowed,
    but only the last one is honored, so 'on failure' there
    would be no logs cause the policy was getting overwriten
    by the default policy.
    
    https://gitlab.com/gitlab-org/gitlab/-/issues/18744

 .gitlab-ci.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ffc5910..ab4c4e99 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,13 +46,10 @@ stages:
     - make check
 
   artifacts:
-    when: on_failure
+    when: 'always'
     paths:
       - _build/tests/*.log
       - _build/tests/output/
-
-  artifacts:
-    paths:
       - _build/*.gir
       - _build/*.la
       - _build/*.pc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]