diff --git a/.drone.yml b/.drone.yml index 92530f9..54bbdce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,10 +31,11 @@ steps: image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - cd WF-WebAdmin/WF-WebAdmin - # Lancer la build avec les analyzers pour détecter d'éventuelles alertes - - dotnet build WF-WebAdmin.csproj -c Release --no-restore /p:RunAnalyzers=true + - dotnet restore WF-WebAdmin.csproj + - dotnet build WF-WebAdmin.csproj -c Release /p:RunAnalyzers=true depends_on: [build] + - name: docker_build image: plugins/docker settings: