chore: adjust workflow to publish release nupkg
All checks were successful
default / dotnet default workflow (8.0) (push) Successful in 39s

This commit is contained in:
Louis Seubert 2024-05-01 16:22:05 +02:00
parent 67998e966f
commit 16ef85906f
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
2 changed files with 14 additions and 6 deletions

View file

@ -13,6 +13,7 @@ on:
jobs:
default:
name: dotnet default workflow
runs-on: debian-latest
strategy:
matrix:

View file

@ -5,6 +5,7 @@ on:
jobs:
release:
name: dotnet release workflow
runs-on: debian-latest
strategy:
matrix:
@ -22,3 +23,9 @@ jobs:
- name: dotnet pack
run: |
dotnet pack -p:ContinuousIntegrationBuild=true
- name: dotnet nuget push
run: |
# The token used here is only intended to publish packages
dotnet nuget push -k "${{ secrets.geekeey_package_registry }}" \
artifacts/package/release/Geekeey.Extensions.Result.*.nupkg