Skip to content

Commit 1abcd01

Browse files
committed
feat: add release job to create GitHub release
1 parent 09d51ab commit 1abcd01

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/build.yml

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build App
1+
name: Build and Release App
22

33
on:
44
push:
@@ -54,3 +54,25 @@ jobs:
5454
release-builds/*.deb
5555
release-builds/*.rpm
5656
release-builds/*.dmg
57+
58+
release:
59+
needs: build
60+
runs-on: ubuntu-latest
61+
steps:
62+
- name: Download All Artifacts
63+
uses: actions/download-artifact@v3
64+
with:
65+
path: artifacts
66+
67+
- name: Create GitHub Release
68+
id: create_release
69+
uses: softprops/action-gh-release@v1
70+
with:
71+
name: Stream Monitor ${{ github.ref_name }}
72+
draft: true
73+
files: |
74+
artifacts/*.msi
75+
artifacts/*.zip
76+
artifacts/*.deb
77+
artifacts/*.rpm
78+
artifacts/*.dmg

0 commit comments

Comments
 (0)