File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Build and release Lambda
33on :
44 workflow_dispatch :
55 inputs :
6+ title :
7+ description : ' Title of the release'
8+ required : true
9+ default : ' New Update'
610 description :
711 description : ' Description of the release'
812 required : true
1115 description : ' Is this a prerelease?'
1216 required : true
1317 default : false
18+ target :
19+ description : ' Target branch'
20+ required : true
21+ default : ' master'
1422
1523
1624concurrency :
8593 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8694 tag : ${{ steps.all.outputs.modVersion }}
8795 run : |
88- gh release create "$tag " \
96+ gh release create "${{ steps.all.outputs.modVersion }} " \
8997 --repo="$GITHUB_REPOSITORY" \
90- --title="${GITHUB_REPOSITORY##*/} $tag " \
98+ --title="Lambda ${{ steps.all.outputs.modVersion }} ${{ github.event.inputs.title }} " \
9199 --notes="${{ github.event.inputs.description }}" \
92100 $( [ "${{ github.event.inputs.prerelease }}" = "true" ] && echo "--prerelease" )
93101
You can’t perform that action at this time.
0 commit comments