We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bd24ab commit 432575bCopy full SHA for 432575b
.github/workflows/release.yml
@@ -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
31
+ tag_name: ${{ github.ref }}
32
+ release_name: ${{ github.ref }}
33
+ body: ${{ steps.changelog.outputs.changelog }}
0 commit comments