Skip to content

Commit

Permalink
feat(workflows): add create-github-release
Browse files Browse the repository at this point in the history
  • Loading branch information
phatpham9 committed Mar 26, 2020
1 parent d669c1e commit d38cd4a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions workflows/create-github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: create-github-release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
create-github-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/create-release@v1
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
tag_name: ${{github.ref}}
release_name: Release ${{github.ref}}

0 comments on commit d38cd4a

Please sign in to comment.