diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d0b1534..4c201a68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a84d3016..59fb59f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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