Skip to content

Commit

Permalink
Push to NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Nov 14, 2023
1 parent 1633f2a commit 86b7989
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ jobs:
run: dotnet test --no-restore --verbosity normal
- name: Pack
run: dotnet pack --configuration Release src/Elmah.Io.HResults/Elmah.Io.HResults.csproj /p:Version=1.0.${{ github.run_number }}
- name: Push
run: dotnet nuget push Elmah.Io.HResults.1.0.${{ github.run_number }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
if: ${{ github.event_name == 'push' }}

0 comments on commit 86b7989

Please sign in to comment.