mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-01 22:14:52 +00:00
34 lines
715 B
YAML
34 lines
715 B
YAML
name: Create Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
name: Create Release
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
RELEASE: ${{ github.ref }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: npm ci
|
|
- run: npm run all
|
|
|
|
- id: changelog
|
|
uses: ardalanamini/auto-changelog@master
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Create Release
|
|
id: create_release
|
|
uses: actions/create-release@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
tag_name: ${{ github.ref }}
|
|
release_name: ${{ github.ref }}
|
|
body: |
|
|
${{ steps.changelog.outputs.changelog }}
|