Skip to content

Commit

Permalink
Update release-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XFox111 authored Sep 26, 2024
1 parent c5a453a commit 2c45e2d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,25 @@ jobs:
- run: dotnet restore
- run: dotnet pack

- name: Drop artifacts
- name: Drop SimpleOTP
uses: actions/upload-artifact@main
with:
name: packages
path: libraries/**/Release/EugeneFox.SimpleOTP*.?nupkg
name: SimpleOTP
path: libraries/SimpleOTP/bin/Release/EugeneFox.SimpleOTP*.*nupkg

- name: Drop SimpleOTP.DependencyInjection
uses: actions/upload-artifact@main
with:
name: SimpleOTP.DependencyInjection
path: libraries/SimpleOTP.DependencyInjection/bin/Release/EugeneFox.SimpleOTP.DependencyInjection*.*nupkg

publish-nuget:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@main
with:
name: packages
merge-multiple: true

- name: Publish NuGet and symbols
uses: edumserrano/[email protected]
Expand All @@ -46,7 +52,7 @@ jobs:
steps:
- uses: actions/download-artifact@main
with:
name: packages
merge-multiple: true

- name: dotnet nuget push
run: dotnet nuget push *.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/xfox111/index.json --skip-duplicate --no-symbols

0 comments on commit 2c45e2d

Please sign in to comment.