Skip to content

Commit 2c6eebd

Browse files
committed
Add release.yml
1 parent 8e39e39 commit 2c6eebd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '**'
7+
8+
jobs:
9+
build:
10+
name: Create a release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Create release
17+
uses: actions/create-release@latest
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
20+
with:
21+
tag_name: ${{ github.ref }}
22+
release_name: ${{ github.ref }}
23+
draft: true
24+
prerelease: false

0 commit comments

Comments
 (0)