From a2162b732349513b2e2871230cf3673fe79a97e4 Mon Sep 17 00:00:00 2001 From: Matheo HERSAN Date: Mon, 15 May 2023 09:51:54 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2b42980..188c0c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,15 +12,15 @@ steps: image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - cd MangaMap/ - - dotnet restore MangaMap.sln - - dotnet build MangaMap.sln -c Debug --no-restore - - dotnet publish MangaMap.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release + - dotnet restore MangaMap.sln --framework net7.0 + - dotnet build MangaMap.sln -c Debug --no-restore --framework net7.0 + - dotnet publish MangaMap.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0 - name: tests image: mcr.microsoft.com/dotnet/sdk:7.0 commands: - cd MangaMap/ - - dotnet restore MangaMap.sln + - dotnet restore MangaMap.sln - dotnet test MangaMap.sln --logger trx --no-restore depends_on: [build]