File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Push components to https://components.espressif.com
2
2
3
3
on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ tag :
7
+ description : ' Tag to push to the component registry'
8
+ required : true
4
9
workflow_run :
5
10
workflows : ["ESP32 Arduino Release"]
6
11
types :
15
20
steps :
16
21
- name : Get the release tag
17
22
env :
18
- head_branch : ${{ github.event.workflow_run.head_branch }}
23
+ head_branch : ${{ github.event.inputs.tag || github.event. workflow_run.head_branch }}
19
24
run : |
20
25
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
21
26
echo "Release workflow failed. Exiting..."
39
44
40
45
- uses : actions/checkout@v4
41
46
with :
47
+ ref : ${{ env.RELEASE_TAG }}
42
48
submodules : " recursive"
43
49
44
50
- name : Upload components to the component registry
You can’t perform that action at this time.
0 commit comments