File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : create-release
2+ on :
3+ push :
4+ # Sequence of patterns matched against refs/tags
5+ tags :
6+ - ' v*' # Push events to matching v*, i.e. v1.0, v1.0.0
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ # To use this repository's private action, you must check out the repository
13+ - name : Checkout
14+ uses : actions/checkout@v2
15+ - name : Generate changelog
16+ id : changelog
17+ uses : metcalfc/changelog-generator@v1.0.1
18+ with :
19+ myToken : ${{ secrets.GITHUB_TOKEN }}
20+ - name : Create Release
21+ id : create_release
22+ uses : actions/create-release@latest
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ with :
26+ tag_name : ${{ github.ref }}
27+ release_name : Release ${{ github.ref }}
28+ body : ${{ steps.changelog.outputs.changelog }}
29+ draft : false
30+ prerelease : false
You can’t perform that action at this time.
0 commit comments