Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details

WebAPI
Patrick BRUGIERE 1 year ago
parent 6fa635db7d
commit 8f52046ee7

@ -60,6 +60,9 @@ steps:
- 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"
- 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]

Loading…
Cancel
Save