File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags :
66 - " v*"
77 workflow_dispatch :
8+ inputs :
9+ tag :
10+ description : " Release tag to publish (for example: v0.3.0)"
11+ required : true
12+ type : string
813
914permissions :
1015 contents : write
8792 - name : Publish GitHub release assets
8893 uses : softprops/action-gh-release@v2
8994 with :
95+ tag_name : ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
9096 files : dist/*
Original file line number Diff line number Diff line change @@ -193,6 +193,9 @@ The repository includes ready workflows for CI and binary release publishing:
193193- ` .github/workflows/ci.yml `
194194- ` .github/workflows/release-binaries.yml `
195195
196+ ` release-binaries.yml ` runs on pushed tags (` v* ` ) and also supports manual
197+ dispatch with a required ` tag ` input.
198+
196199## Development
197200
198201``` bash
You can’t perform that action at this time.
0 commit comments