We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd7a74e + 4884c96 commit 7298959Copy full SHA for 7298959
.github/workflows/upload-idf-component.yml
@@ -1,6 +1,11 @@
1
name: Push components to https://components.espressif.com
2
3
on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ tag:
7
+ description: 'Tag to push to the component registry'
8
+ required: true
9
workflow_run:
10
workflows: ["ESP32 Arduino Release"]
11
types:
@@ -15,7 +20,7 @@ jobs:
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: |
25
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
26
echo "Release workflow failed. Exiting..."
@@ -39,6 +44,7 @@ jobs:
39
44
40
45
- uses: actions/checkout@v4
41
46
with:
47
+ ref: ${{ env.RELEASE_TAG }}
42
48
submodules: "recursive"
43
49
50
- name: Upload components to the component registry
0 commit comments