From d834189fc7d9613c53938bac68bc48f762098e72 Mon Sep 17 00:00:00 2001
From: ewbo4360 <ewbo4360@bht-berlin.de>
Date: Wed, 20 Nov 2024 18:08:27 +0100
Subject: [PATCH] trying to patch the artifact publishing

---
 .gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c58268d..5208b31 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,7 +22,7 @@
   # variables:
     # $CI_BUILDS_DIR : /builds/ewbo4360/devops_wise24_ewbo/MPD
 
-  before_script:
+  before_script: #this is debatable to put it here, some packages seems useless for some jobs like test-job2, optimization in further version
     # the 2 following steps make sure that the required building tool (meson) is installed on the runner
       #and also that all the other external dependencies are here (this will be part of a container later) 
       - apt-get update  # Make sure the package lists are updated
@@ -89,6 +89,7 @@
     cache: 
       paths: 
         - output/full  #save cache for later jobs 
+        - ./artifacts
 
   test-job1:
     stage: test
@@ -103,6 +104,7 @@
     cache: 
       paths: 
         - output/full #reuse the build cache :)
+        - ./artifacts
 
   test-job2:
     stage: test
@@ -118,6 +120,7 @@
     cache: 
       paths: 
         - output/full #reuse the build cache :)
+        - ./artifacts
 
   to-registry:
     stage: publish-artifacts
@@ -142,6 +145,7 @@
     cache: 
       paths: 
         - output/full #reuse the build cache :) 
+        - ./artifacts
     # artifacts:
     #   when: on_failure
     #   access: all
-- 
GitLab