chore: adjust workflow to publish release nupkg
All checks were successful
default / dotnet default workflow (8.0) (push) Successful in 39s
All checks were successful
default / dotnet default workflow (8.0) (push) Successful in 39s
This commit is contained in:
parent
67998e966f
commit
16ef85906f
2 changed files with 14 additions and 6 deletions
|
@ -13,6 +13,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
default:
|
default:
|
||||||
|
name: dotnet default workflow
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -5,6 +5,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
name: dotnet release workflow
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -22,3 +23,9 @@ jobs:
|
||||||
- name: dotnet pack
|
- name: dotnet pack
|
||||||
run: |
|
run: |
|
||||||
dotnet pack -p:ContinuousIntegrationBuild=true
|
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
|
Loading…
Reference in a new issue