From d88e4214f68f3944417e4627e1bde480ae095664 Mon Sep 17 00:00:00 2001 From: Rhys Parry Date: Sat, 7 Dec 2024 23:24:20 +0000 Subject: [PATCH] chore: Generate release notes for GitHub (#50) --- .github/workflows/nuget-publish.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index 6b5f57f..ff7f50e 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -45,10 +45,16 @@ jobs: - name: Pack run: just pack if: startsWith(github.ref, 'refs/tags/v') + - name: Create Release Notes + run: just release-notes + if: startsWith(github.ref, 'refs/tags/v') - name: Create a release with the NuGet Package uses: softprops/action-gh-release@v2 with: - files: '**/*.nupkg' + body_path: artifacts/RELEASE-NOTES.md + files: | + artifacts/*.nupkg + artifacts/*.snupkg if: startsWith(github.ref, 'refs/tags/v') - name: Load NuGet API Key uses: 1password/load-secrets-action@v2