build: auto publish github release on tag push

This commit is contained in:
Evan You 2020-04-27 12:26:22 -04:00
parent 4c22be556e
commit 311eb08334

23
.github/workflows/release-tag.yml vendored Normal file
View File

@ -0,0 +1,23 @@
on:
push:
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 for Tag
id: release_tag
uses: yyx990803/release-tag@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body: |
Please refer to CHANGELOG.md for details.