Skip to content

Commit fb66d5e

Browse files
committed
Automatic release workflow
1 parent 185bf76 commit fb66d5e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2+
3+
name: "Create release"
4+
5+
on:
6+
push:
7+
tags:
8+
- '*'
9+
10+
jobs:
11+
deploy:
12+
name: "Deploy"
13+
runs-on: "ubuntu-latest"
14+
15+
steps:
16+
- name: "Checkout"
17+
uses: "actions/checkout@v2"
18+
19+
- name: Generate changelog
20+
id: changelog
21+
uses: metcalfc/[email protected]
22+
with:
23+
myToken: ${{ secrets.GITHUB_TOKEN }}
24+
25+
- name: "Create release"
26+
id: create-release
27+
uses: actions/create-release@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
tag_name: ${{ github.ref }}
32+
release_name: ${{ github.ref }}
33+
body: ${{ steps.changelog.outputs.changelog }}

0 commit comments

Comments
 (0)