From 92b7e9a8aef7c059aa920ac49f6fc417db94207d Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Sat, 23 Nov 2024 16:07:22 +0100 Subject: [PATCH] Renamed ci file --- gitlab-ci.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 gitlab-ci.yml diff --git a/gitlab-ci.yml b/gitlab-ci.yml deleted file mode 100644 index 3f0cd38..0000000 --- a/gitlab-ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -image: mcr.microsoft.com/dotnet/core/sdk:3.1 - -stages: - - build - - test - - publish - -before_script: - - echo "Setting up environment" - - 'dotnet --version' - -build: - stage: build - script: - - dotnet restore - - dotnet build --configuration Release --no-restore - artifacts: - paths: - - "**/bin/Release" - -test: - stage: test - script: - - dotnet test --no-restore --verbosity normal - -publish: - stage: publish - script: - - dotnet pack -c Release -o . - - for nupkg in *.nupkg; do dotnet nuget push $nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json; done - only: - - main - variables: - NUGET_API_KEY: $NUGET_API_KEY