ci: Fix artifact name for jobs with parallel indices

GitLab mangled artifact filenames when `CI_JOB_NAME` contained a slash
(e.g. 1/4), resulting in broken names like `4.zip`.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13424
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35796>
This commit is contained in:
Valentine Burley
2025-06-27 17:16:54 +02:00
committed by Marge Bot
parent e236a731e4
commit ef6273c43c
6 changed files with 11 additions and 11 deletions

View File

@@ -18,7 +18,7 @@
# We don't want to download any previous job's artifacts
dependencies: []
artifacts:
name: "${CI_PROJECT_NAME}_${CI_JOB_NAME}"
name: "${CI_PROJECT_NAME}_${CI_JOB_NAME_SLUG}"
when: always
paths:
- _build/meson-logs/*.txt