From 7b294344d9c277af13f3ed0ec27ca468d9228cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DUPIN?= Date: Wed, 8 Mar 2023 11:56:28 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 90129d5..886b37b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,15 +10,17 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - dotnet restore /drone/src/Sources/LeagueOfLegends.sln - - dotnet build /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore - - dotnet publish /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - cd Sources + - dotnet restore LeagueOfLegends.sln + - dotnet build LeagueOfLegends.sln -c Release --no-restore + - dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - dotnet restore /drone/src/Sources/LeagueOfLegends.sln - - dotnet test /drone/src/Sources/LeagueOfLegends.sln --no-restore + - cd Sources + - dotnet restore LeagueOfLegends.sln + - dotnet test LeagueOfLegends.sln --no-restore depends_on: [build] - name: code-analysis