Skip to content

Commit 7fa6045

Browse files
author
Vladimir Kotal
committed
add release
1 parent 528075d commit 7fa6045

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
3+
# TODO: run this only for the main repository
4+
on:
5+
push:
6+
tags:
7+
- 'v[1-9]+'
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
needs: get_tag
13+
steps:
14+
- name: Checkout master branch
15+
uses: actions/checkout@v2
16+
- name: Create Release
17+
id: create_release
18+
uses: actions/create-release@v1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
tag_name: ${{ github.ref }}
23+
release_name: ${{ github.ref }}
24+
draft: false
25+
prerelease: false

0 commit comments

Comments
 (0)