one more fix ci/cd.

This commit is contained in:
ruberoid 2024-03-21 23:03:19 +04:00
parent f02f802020
commit 2f43da6261

View File

@ -37,6 +37,7 @@ steps:
nugetapikey: nugetapikey:
from_secret: nuget_api_key from_secret: nuget_api_key
commands: commands:
- echo $nugetapikey
- dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj - 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 - dotnet nuget push bin/*/*.nupkg --api-key $nugetapikey --source https://api.nuget.org/v3/index.json