name fix
All checks were successful
build nuget workflow for TelegramBotBase project / Build-TelegramBotBase (x64, linux) (push) Successful in 36s

This commit is contained in:
Максим Човнюк 2024-12-05 16:54:31 +05:00
parent 55027b92aa
commit 877d2daa30

View File

@ -37,11 +37,11 @@ jobs:
run: dotnet pack --no-build $APP_PROJECT_NAME
- name: disconnect old source
run: dotnet nuget remove source git.kosyakmakc.ru
run: dotnet nuget remove source gitea
continue-on-error: true
- name: Connect source
run: dotnet nuget add source --name git.kosyakmakc.ru https://git.kosyakmakc.ru/api/packages/kosyakmakc/nuget/index.json
run: dotnet nuget add source --name gitea https://git.kosyakmakc.ru/api/packages/kosyakmakc/nuget/index.json
- name: Upload nuget package
run: dotnet nuget push --source git.kosyakmakc.ru --api-key ${{ secrets.kosyakmakc_nuget_publish }} ${{ gitea.workspace }}/${{ env.APP_PROJECT_NAME }}/bin/Release/$APP_PROJECT_NAME.1.0.0.nupkg
run: dotnet nuget push --source gitea --api-key ${{ secrets.kosyakmakc_nuget_publish }} ${{ gitea.workspace }}/${{ env.APP_PROJECT_NAME }}/bin/Release/$APP_PROJECT_NAME.1.0.0.nupkg