Skip to content

Commit

Permalink
feat: create github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
dominickolbe committed Aug 17, 2021
1 parent ab31a3f commit 1aa0dba
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release

on:
push:
tags:
- v*.*.*

jobs:
release:
name: Release
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: ["16"]
os: [ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Generate Release Body
run: npx extract-changelog-release > RELEASE_BODY.md

- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
bodyFile: "RELEASE_BODY.md"
token: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit 1aa0dba

@vercel
Copy link

@vercel vercel bot commented on 1aa0dba Aug 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.