Skip to content

Commit

Permalink
Create changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daynin authored Apr 11, 2020
1 parent f112963 commit 94d31d8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: changelog

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Use Node.js 10
uses: actions/setup-node@v1
- name: Install github-release-notes and generate changelog
run: |
npx github-release-notes changelog --generate --override --token=${{ secrets.GITHUB_TOKEN }} --changelog-filename=TEMP_CHANGELOG.md
env:
CI: true
- name: Create and publish realese
uses: ncipollo/release-action@v1
with:
bodyFile: 'TEMP_CHANGELOG.md'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 94d31d8

Please sign in to comment.