fix ci 03.

This commit is contained in:
ruberoid 2024-03-21 23:12:08 +04:00
parent 2f43da6261
commit 11894685fb

View File

@ -32,12 +32,11 @@ steps:
- name: nocr telegram listener nuget package make & push
image: mcr.microsoft.com/dotnet/sdk:8.0
environment:
Version: 0.1.0
settings:
nugetapikey:
VERSION: 0.1.0
NUGETAPIKEY:
from_secret: nuget_api_key
commands:
- echo $nugetapikey
- dotnet pack ./local-env/telegram-listener/src/Nocr.TelegramListener.Async.Api.Contracts/Nocr.TelegramListener.Async.Api.Contracts.csproj
- dotnet nuget push bin/*/*.nupkg --api-key $nugetapikey --source https://api.nuget.org/v3/index.json
- 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