Skip to content

Commit 785bb1f

Browse files
Update action-gh-release to v2, add downloads badge to release maybe
1 parent c55ebaa commit 785bb1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,13 @@ jobs:
199199
zip -sf $zip_dist
200200
done
201201
- name: Publish GitHub release
202-
uses: softprops/action-gh-release@v1
202+
uses: softprops/action-gh-release@v2
203203
with:
204204
name: ${{ github.ref_name }}
205205
generate_release_notes: true
206+
append_body: true
207+
body: |
208+
209+
![](https://img.shields.io/github/downloads/OpenAstroTech/OATFWGUI/${{ github.ref_name }}/total)
206210
fail_on_unmatched_files: true
207211
files: artifacts/*/*.zip

0 commit comments

Comments
 (0)