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