From 58114a14875b2e6865687083969bf47517f7fa59 Mon Sep 17 00:00:00 2001 From: DHCPCD Date: Thu, 31 Mar 2022 01:04:32 +0300 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f34bf12..0e2837c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,19 +15,16 @@ stages: # List of stages for jobs, and their order of execution - build - - test - - deploy - + +image: "mcr.microsoft.com/dotnet/sdk:6.0" +before_script: + - apt-get install -y p7zip build-job: # This job runs in the build stage, which runs first. stage: build + + script: - "dotnet clean" - "dotnet restore" - "dotnet build -c Release --output out/ --no-restore" - ## - -deploy-job: # This job runs in the deploy stage. - stage: deploy # It only runs when *both* jobs in the test stage complete successfully. - script: - - echo "Deploying application..." - - echo "Application successfully deployed." + ## \ No newline at end of file -- GitLab