Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5c1eb9a

Browse files
Automatic release workflow
1 parent f95c617 commit 5c1eb9a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

‎.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
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/changelog-generator@v0.4.4
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)

AltStyle によって変換されたページ (->オリジナル) /