Skip to content

Commit

Permalink
add publishing to NuGet.org
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 27, 2024
1 parent 6877982 commit 36296ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,16 @@ jobs:
-p:RepositoryUrl=${{ github.server_url }}/${{ github.repository }} \
-p:Authors=Gear
- name: Publish NuGet Packages
# - name: Publish NuGet Packages
# run: |
# dotnet nuget push ./nugets/*.nupkg \
# --source $NUGET_SOURCE_URL

- name: Publish NuGet Packages to NuGet.org
run: |
dotnet nuget push ./nugets/*.nupkg \
--source $NUGET_SOURCE_URL
--source https://api.nuget.org/v3/index.json \
--api-key ${{ secrets.NUGET_ORG_API_KEY }}
release:
name: Create Release
Expand Down

0 comments on commit 36296ff

Please sign in to comment.