From 785bb1fc3f882f5cfd9586955baa3e0daee7e7bc Mon Sep 17 00:00:00 2001 From: Julianne Swinoga Date: Sun, 5 Jan 2025 12:29:23 -0500 Subject: [PATCH] Update action-gh-release to v2, add downloads badge to release maybe --- .github/workflows/build-and-release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 74f8ec4..c32873f 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -199,9 +199,13 @@ jobs: zip -sf $zip_dist done - name: Publish GitHub release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ github.ref_name }} generate_release_notes: true + append_body: true + body: | + + ![](https://img.shields.io/github/downloads/OpenAstroTech/OATFWGUI/${{ github.ref_name }}/total) fail_on_unmatched_files: true files: artifacts/*/*.zip