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 : Generate changelog
2- id : changelog
3- uses : metcalfc/changelog-generator@v0.4.4
4- with :
5- myToken : ${{ secrets.GITHUB_TOKEN }}
1+ name : create-release
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ logLevel :
6+ description : ' Log level'
7+ required : true
8+ default : ' warning'
9+ tags :
10+ description : ' Test scenario tags'
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ # To use this repository's private action, you must check out the repository
16+ - name : Checkout
17+ uses : actions/checkout@v2
18+ - name : Generate changelog
19+ id : changelog
20+ uses : metcalfc/changelog-generator@v0.4.4
21+ with :
22+ myToken : ${{ secrets.GITHUB_TOKEN }}
23+ - name : Create Release
24+ id : create_release
25+ uses : actions/create-release@latest
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ with :
29+ tag_name : ${{ github.ref }}
30+ release_name : Release ${{ github.ref }}
31+ body : ${{ steps.changelog.outputs.changelog }}
32+ draft : false
33+ prerelease : false
You can’t perform that action at this time.
0 commit comments