From a681833712c145887f251d1c4ddb1fde4bdc8f78 Mon Sep 17 00:00:00 2001 From: jastornig Date: Sun, 24 Sep 2023 20:19:40 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7a3182..7e04fb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,8 +23,11 @@ build: before_script: - apt update && apt -y install cmake script: + - echo BUILD_JOB_ID=$CI_JOB_ID >> CI_JOB_ID.env + - echo "Compiling the code..." - cmake . - cmake --build . + artifacts: paths: - c_net @@ -36,7 +39,8 @@ build: release: stage: release needs: - - build + - job: build + release: tag_name: $CI_COMMIT_SHORT_SHA' description: "latest"