Skip to content

Commit 7aca72c

Browse files
committed
build: add github release workflow
1 parent 474c941 commit 7aca72c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Bump version and push tag
12+
id: tag_version
13+
uses: mathieudutour/[email protected]
14+
with:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Create a GitHub release
17+
uses: ncipollo/release-action@v1
18+
with:
19+
tag: ${{ steps.tag_version.outputs.new_tag }}
20+
name: Release ${{ steps.tag_version.outputs.new_tag }}
21+
body: ${{ steps.tag_version.outputs.changelog }}

0 commit comments

Comments
 (0)