From 8f52046ee7b7af71df461cee4c2fa329991d6449 Mon Sep 17 00:00:00 2001 From: Patrick BRUGIERE Date: Fri, 29 Mar 2024 17:46:03 +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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]