Skip to content

Commit

Permalink
Add ChangeLog pointer to package (#15)
Browse files Browse the repository at this point in the history
- Add changelog pointer
- Remove unnecessary * in publish because it automatically publishes snupkg files.
  • Loading branch information
weshaggard authored Jun 6, 2024
1 parent 70ca215 commit 959b605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Publish
if: github.event_name != 'pull_request'
run: dotnet nuget push
${{github.workspace}}/artifacts/packages/*.*nupkg
${{github.workspace}}/artifacts/packages/*.nupkg
--source "github"
--api-key ${{ secrets.GITHUB_TOKEN }}
--skip-duplicate
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
--configuration Release
--output "${{github.workspace}}/artifacts/packages"
/p:PackageProjectUrl="${{ github.server_url }}/${{ github.repository }}/tree/${{ github.event.release.tag_name }}"
/p:PackageReleaseNotes="${{ github.server_url }}/${{ github.repository }}/blob/${{ github.event.release.tag_name }}/CHANGELOG.md"

- name: Test
run: dotnet test
Expand All @@ -46,7 +47,7 @@ jobs:

- name: Publish
run: dotnet nuget push
${{github.workspace}}/artifacts/packages/*.*nupkg
${{github.workspace}}/artifacts/packages/*.nupkg
--source https://api.nuget.org/v3/index.json
--api-key ${{ secrets.NUGET_API_KEY }}
--skip-duplicate

0 comments on commit 959b605

Please sign in to comment.