Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit be88cff

Browse files
authored
adds release action on tag (#4)
1 parent 7ce4b7f commit be88cff

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish GitHub Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v[0-9]+.[0-9]+.[0-9]+*'
10+
11+
jobs:
12+
release:
13+
runs-on: 'ubuntu-latest'
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: GH Release
17+
run: |
18+
gh release create "${GITHUB_REF#refs/tags/}" --generate-notes
19+
env:
20+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)