added nuget packages sln by support.

This commit is contained in:
ruberoid 2024-03-21 23:56:48 +04:00
parent 630ed8521f
commit 086f6025c3

View File

@ -38,8 +38,8 @@ steps:
NUGETAPIKEY: NUGETAPIKEY:
from_secret: nuget_api_key from_secret: nuget_api_key
commands: commands:
- dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj - dotnet pack ./local-env/telegram-listener/Nocr.TelegramListener.sln -o ./local-env/telegram-listener/bin
- 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 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 - name: nocr text matcher build & push
image: plugins/docker image: plugins/docker
@ -62,8 +62,8 @@ steps:
NUGETAPIKEY: NUGETAPIKEY:
from_secret: nuget_api_key from_secret: nuget_api_key
commands: commands:
- dotnet pack ./local-env/text-matcher/src/*.Contracts/*.csproj -o ./local-env/bin/ - dotnet pack ./local-env/text-matcher/Nocr.TextMatcher.sln -o ./local-env/text-matcher/bin/
- dotnet nuget push ./local-env/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate - dotnet nuget push ./local-env/text-matcher/bin/*.nupkg --api-key $NUGETAPIKEY --source https://api.nuget.org/v3/index.json --skip-duplicate
trigger: trigger:
event: event: