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]