Skip to content

Commit

Permalink
Update publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedkamalio committed Sep 8, 2024
1 parent 40673de commit 3a9cdd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: nuget-packages
path: src/ResultObject/bin/Release

- name: Install Meziantou NuGet Package Validation Tool
run: dotnet tool install --global Meziantou.Framework.NuGetPackageValidation.Tool
Expand All @@ -77,6 +78,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: nuget-packages
path: src/ResultObject/bin/Release

- name: Publish to NuGet
run: dotnet nuget push src/ResultObject/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
Expand Down

0 comments on commit 3a9cdd1

Please sign in to comment.