Skip to content

Commit 2adc400

Browse files
committed
build: Add workflow to create release from tags
Let's automate the release process. The trigger to build a release is the release tag. Signed-off-by: Daniel Wagner <[email protected]>
1 parent e99b63e commit 2adc400

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Releases
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
tags:
7+
- '**'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
if: startsWith(github.ref, 'refs/tags/v')
13+
permissions:
14+
contents: write
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: ncipollo/release-action@v1
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)