File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 1- name : Create and publish a Docker image
1+ name : release
22
33on :
4- push :
5- branches : ['main']
6- release :
7- types : [published]
4+ workflow_dispatch :
5+ inputs :
6+ tagName :
7+ description : ' Name to tag this release'
8+ required : true
89
910env :
1011 REGISTRY : ghcr.io
4142 push : true
4243 tags : ${{ steps.meta.outputs.tags }}
4344 labels : ${{ steps.meta.outputs.labels }}
45+
46+ - name : Get result
47+ run : |
48+ echo "The result is ${{ github.event.inputs.tagName }}"
49+
50+ - name : Publish Release
51+ uses : " marvinpinto/action-automatic-releases@latest"
52+ with :
53+ repo_token : " ${{ secrets.GH_TOKEN }}"
54+ automatic_release_tag : " ${{ github.event.inputs.tagName }}"
55+ prerelease : false
56+ title : " ${{ github.event.inputs.tagName }}"
57+ files : |
58+ LICENSE.txt
59+ *.jar
You can’t perform that action at this time.
0 commit comments