fixup! [#50] ci: Publish NuGet packages at git.frostfs.info
Some checks failed
DCO / DCO (pull_request) Failing after 24s
lint-build / dotnet8.0 (pull_request) Successful in 32s

This commit is contained in:
Vitaliy Potyarkin 2025-03-13 11:34:59 +03:00
parent 3b8eb5b8da
commit fbf5408883

View file

@ -12,7 +12,7 @@ jobs:
with:
fetch-depth: 0
- name: Build NuGet packages
run: dotnet build # TODO: this should create *.nupkg somewhere
run: dotnet pack
- name: Publish NuGet packages
run: |-
dotnet nuget add source \
@ -20,7 +20,8 @@ jobs:
--username "$NUGET_REGISTRY_USER" \
--password "$NUGET_REGISTRY_PASSWORD" \
"$NUGET_REGISTRY_URL"
dotnet nuget push --source "$NUGET_REGISTRY" path/to/package.nupkg # TODO: I don't know what I'm doing %-)
find -iname '*.nupkg' | xargs -d'\n' -t -n1 \
dotnet nuget push --source "$NUGET_REGISTRY"
env:
NUGET_REGISTRY: TrueCloudLab
NUGET_REGISTRY_URL: https://git.frostfs.info/api/packages/TrueCloudLab/nuget/index.json