From 24cd515b91f3cdcbdccb625c3b8d5ff8b0a72397 Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Tue, 30 Apr 2024 22:07:26 -0600 Subject: [PATCH] Update GitHub release with release notes Signed-off-by: Jacob Weinstock --- .github/workflows/build-all-matrix.yaml | 30 ++++++++++++++++++------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-all-matrix.yaml b/.github/workflows/build-all-matrix.yaml index 81dce1bc..b3838cbe 100644 --- a/.github/workflows/build-all-matrix.yaml +++ b/.github/workflows/build-all-matrix.yaml @@ -176,13 +176,27 @@ jobs: merge-multiple: true path: out - # Release the artifacts into GitHub Releases. @TODO this GHA Action is not ideal, uses old nodejs, but I can't find a better one. - - name: "GH Release" - uses: "marvinpinto/action-automatic-releases@latest" + - name: Generate Release Notes + run: | + generated_release_notes=$(gh api 'repos/{owner}/{repo}/releases/generate-notes' -F tag_name=${{github.ref}} --jq .body) + cat >>"$GITHUB_ENV" <<-EOF + RELEASE_NOTES<