Skip to content

Commit

Permalink
Release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
romeovs committed Feb 28, 2020
1 parent fe7a160 commit 11421f2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Create Release
on:
push:
tags:
# Push events to matching v*, i.e. v1.0, v20.15.10
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Install deps
uses: bahmutov/npm-install@v1
- name: Build
run: yarn build
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

0 comments on commit 11421f2

Please sign in to comment.