fixup! [#50] ci: Publish NuGet packages at git.frostfs.info
This commit is contained in:
parent
3b8eb5b8da
commit
fbf5408883
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue