File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 17
17
required : false
18
18
type : string
19
19
default : cygport
20
+ publish :
21
+ description : Publish the release or leave as a draft
22
+ required : false
23
+ type : boolean
24
+ default : false
20
25
21
26
permissions :
22
27
contents : write
@@ -136,11 +141,11 @@ jobs:
136
141
PATH : C:\cygwin\bin
137
142
run : tar -xf build-results.tar
138
143
139
- - name : Create draft GitHub Release
144
+ - name : Create GitHub Release
140
145
uses : softprops/action-gh-release@v1
141
146
with :
142
147
tag_name : ${{ env.TAG }}
143
- draft : true
148
+ draft : ${{ ! inputs.publish }}
144
149
files : |
145
150
${{ env.CYGPORT_PF }}.${{ env.CYGPORT_ARCH }}/dist/${{ env.CYGPORT_NAME }}/*
146
151
${{ env.CYGPORT_PF }}.${{ env.CYGPORT_ARCH }}/dist/${{ env.CYGPORT_NAME }}/*/*
You can’t perform that action at this time.
0 commit comments