Skip to content

Commit 8001e24

Browse files
committed
ci: add automated github release on tag
1 parent a6c6e89 commit 8001e24

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Build Standalone Binaries
33
on:
44
push:
55
branches: [ "main" ]
6+
tags:
7+
- 'v*'
68
workflow_dispatch:
79

810
jobs:
@@ -63,3 +65,13 @@ jobs:
6365
path: |
6466
dist/*.tar.gz
6567
dist/*.zip
68+
69+
- name: Publish GitHub Release
70+
uses: softprops/action-gh-release@v2
71+
if: startsWith(github.ref, 'refs/tags/')
72+
with:
73+
files: |
74+
dist/*.tar.gz
75+
dist/*.zip
76+
env:
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)