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 11name : Push components to https://components.espressif.com 
22
33on :
4+  workflow_dispatch :
5+  inputs :
6+  tag :
7+  description : ' Tag to push to the component registry' 
8+  required : true 
49 workflow_run :
510 workflows : ["ESP32 Arduino Release"] 
611 types :
1520 steps :
1621 - name : Get the release tag 
1722 env :
18-  head_branch : ${{ github.event.workflow_run.head_branch }} 
23+  head_branch : ${{ github.event.inputs.tag || github.event. workflow_run.head_branch }} 
1924 run : | 
2025 if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then 
2126 echo "Release workflow failed. Exiting..." 
3944
4045uses : actions/checkout@v4 
4146 with :
47+  ref : ${{ env.RELEASE_TAG }} 
4248 submodules : " recursive" 
4349
4450 - name : Upload components to the component registry 
                         You can’t perform that action at this time. 
           
                  
0 commit comments