From 2d59e8afd3c43fac10b19a63c88630c2671741dc Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Tue, 15 Jul 2025 18:17:14 +0000 Subject: [PATCH] Backmerge from Main to Dev --- .gitlab-ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6fce1a..c58ce84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: # Define the stages of the pipeline. #- test - release -install-job: # This job runs in the build stage, which runs first. +web-build: # This job runs in the build stage, which runs first. stage: build image: node:24 script: @@ -15,12 +15,27 @@ install-job: # This job runs in the build stage, which runs first. paths: - Web/dist/Web/browser # The 'dist' directory will be available in the next stage. +api-build: + stage: build + image: mcr.microsoft.com/dotnet/sdk:8.0 + script: + - ls -halt + - cd Api + - dotnet build Api.csproj --output ./build --runtime linux-x64 + artifacts: + paths: + - Api/build + when: on_success + access: all + expire_in: 30 days + semantic-release: image: node:24 stage: release script: - apt update && apt install zip -y - zip -r dist.zip Web/dist/Web/browser + - zip -r api.zip Api/build - npm install --save-dev @semantic-release/gitlab - npx semantic-release --debug only: