From c6799a146aa9d98b691fad43f9e0e829733475a2 Mon Sep 17 00:00:00 2001 From: khwezi Date: Sat, 4 Apr 2026 15:06:32 +0200 Subject: [PATCH] Added publish step to dotnet --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6640155..0f53bdf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,12 +7,13 @@ clone: depth: 1 steps: - # --- BUILD & TEST STAGE --- - - name: build-and-test + - name: build-test-publish image: mcr.microsoft.com/dotnet/sdk:10.0 commands: - - dotnet build --configuration Release - - dotnet test --configuration Release + - dotnet restore + - dotnet build --configuration Release --no-restore + - dotnet test --configuration Release --no-build + - dotnet publish --configuration Release --no-build # --- PACKAGE STAGE --- # We build the image locally first so we can scan it BEFORE pushing -- 2.47.3