diff --git a/.drone.yml b/.drone.yml index 403f3a2..ea8aaa2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,7 +59,10 @@ steps: - cd ../ - dotnet build webAPI.sln -c Release --no-restore - dotnet publish webAPI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - export PATH="$PATH:/root/.dotnet/tools" + - export PATH="$PATH:/root/.dotnet/tools" + - mkdir -p $HOME/dotnet && tar zxf dotnet-hosting-7.0.17-win.exe -C $HOME/dotnet + - export DOTNET_ROOT=$HOME/dotnet + - export PATH=$PATH:$HOME/dotnet - swagger tofile --output /docs/swagger.json API/bin/Release/net8.0/API.dll v1 depends_on: [build,tests]