File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11name : Add Release Assets
22
3+ permissions :
4+ contents : write
5+
36on :
47 release :
58 types : [published]
811 tag :
912 description : ' Tag to generate documentation for'
1013 required : true
11- dry-run :
12- description : ' does not push the assets when true '
14+ upload-on-workflow-dispatch :
15+ description : ' Upload assets? '
1316 required : false
14- default : " true "
17+ default : " false "
1518jobs :
1619 asset :
1720 runs-on : ${{ matrix.operating-system }}
5659
5760 - name : Upload Release Archive
5861 uses : softprops/action-gh-release@v2
59- if : github.ref_type == 'tag' || inputs.dry-run ! = 'true'
62+ if : github.ref_type == 'tag' || inputs.upload-on-workflow-dispatch = = 'true'
6063 with :
6164 tag_name : ${{ inputs.tag || steps.tagName.outputs.tag }}
6265 files : |
You can’t perform that action at this time.
0 commit comments