From 2fdd305cd7fb87e364b869774116106c682ffd1d Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Fri, 28 Feb 2025 12:35:34 +0100 Subject: [PATCH] Prepared CI for v3.2.0 --- .gitlab-ci.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75c85bb..285dbf5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,40 +1,8 @@ image: mcr.microsoft.com/dotnet/sdk:9.0 stages: - - build - - test - - publish - publish-help -build: - stage: build - script: - - dotnet restore - - dotnet build --configuration Release --no-restore - artifacts: - paths: - - "**/bin/Release" - expire_in: 10 minutes - -test: - stage: test - script: - - dotnet test --verbosity normal - dependencies: - - build - -publish: - stage: publish - script: - - export VERSION=$(echo $CI_COMMIT_TAG | sed 's/^v//') - - dotnet pack -c Release -o . /p:Version=$VERSION - - for nupkg in *.nupkg; do dotnet nuget push $nupkg -k ${NUGET_API_KEY} -s https://api.nuget.org/v3/index.json; done - only: - - tags - dependencies: - - build - - test - publish-help: stage: publish-help image: docker:latest