From 086f6025c31cd4b158b73262315bc90c62814c5e Mon Sep 17 00:00:00 2001 From: ruberoid Date: Thu, 21 Mar 2024 23:56:48 +0400 Subject: [PATCH] added nuget packages sln by support. --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 774c302..15727a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,8 +38,8 @@ steps: NUGETAPIKEY: from_secret: nuget_api_key commands: - - dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj - - dotnet nuget push ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/bin/*/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate + - dotnet pack ./local-env/telegram-listener/Nocr.TelegramListener.sln -o ./local-env/telegram-listener/bin + - dotnet nuget push ./local-env/telegram-listener/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate - name: nocr text matcher build & push image: plugins/docker @@ -62,8 +62,8 @@ steps: NUGETAPIKEY: from_secret: nuget_api_key commands: - - dotnet pack ./local-env/text-matcher/src/*.Contracts/*.csproj -o ./local-env/bin/ - - dotnet nuget push ./local-env/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate + - dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin/ + - dotnet nuget push ./local-env/text-matcher/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate trigger: event: