Add release and publish workflows

This commit is contained in:
Milan Stute
2019-12-13 20:40:46 +01:00
parent 39a9a97755
commit eebf3b3c79
3 changed files with 77 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # instead of GITHUB_TOKEN, otherwise relase workflows are not triggered
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false