Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit a7b6008

Browse files
committed
Add release workflow
1 parent b07b7c6 commit a7b6008

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*.*.*"
7+
8+
jobs:
9+
release:
10+
name: Create a release on GitHub
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Get Changelog Entries
18+
id: changelog
19+
uses: mindsers/changelog-reader-action@v2
20+
with:
21+
version: ${{ github.ref }}
22+
path: ./Changelog.md
23+
- name: Create Release
24+
uses: actions/create-release@v1
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ github.ref }}
29+
release_name: ${{ github.ref }}
30+
body: ${{ steps.changelog.outputs.changes }}
31+
draft: false
32+
prerelease: false

0 commit comments

Comments
 (0)