Commit 1eb74f0 1 parent 43adfd0 commit 1eb74f0 Copy full SHA for 1eb74f0
File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ inputs:
14
14
upload_release :
15
15
description : " should the binary be uploaded to a tagged release?"
16
16
default : false
17
+ tag_name :
18
+ description : " release tag to upload artifacts to"
19
+ default : " "
17
20
18
21
runs :
19
22
using : " composite"
42
45
43
46
- name : Upload Release Files
44
47
uses : softprops/action-gh-release@v1
45
- if : ${{ github.event_name == 'release' && inputs.upload_release }}
48
+ if : ${{ ( github.event_name == 'release' || github.event_name == 'workflow_dispatch') && inputs.upload_release }}
46
49
with :
47
50
files : Pioneer*.AppImage
51
+ tag_name : ${{ inputs.tag_name || github.ref_name }}
48
52
env :
49
53
GITHUB_TOKEN : ${{ inputs.token }}
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ inputs:
14
14
upload_release :
15
15
description : " should the binary be uploaded to a tagged release?"
16
16
default : false
17
+ tag_name :
18
+ description : " release tag to upload artifacts to"
19
+ default : " "
17
20
18
21
runs :
19
22
using : " composite"
46
49
47
50
- name : Upload Release Files
48
51
uses : softprops/action-gh-release@v1
49
- if : ${{ github.event_name == 'release' && inputs.upload_release }}
52
+ if : ${{ ( github.event_name == 'release' || github.event_name == 'workflow_dispatch') && inputs.upload_release }}
50
53
with :
51
54
files : release/pioneer-linux-x64-*.tar.gz
55
+ tag_name : ${{ inputs.tag_name || github.ref_name }}
52
56
env :
53
57
GITHUB_TOKEN : ${{ inputs.token }}
Original file line number Diff line number Diff line change 17
17
- ' cmake/*.cmake'
18
18
release :
19
19
types : [published]
20
+ workflow_dispatch :
21
+ inputs :
22
+ tag_name :
23
+ description : The release tag name to update
24
+ default : ' '
25
+ required : true
26
+ type : string
20
27
21
28
concurrency :
22
29
group : ${{ github.workflow }}-${{ github.ref }}
95
102
if : ${{ github.event_name == 'release' }}
96
103
with :
97
104
files : pioneer/pioneer-*-win.exe
105
+ tag_name : ${{ inputs.tag_name || github.ref_name }}
98
106
env :
99
107
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100
108
You can’t perform that action at this time.
0 commit comments