ci: Allow push to the component registry from a given git ref (#10757)
Co-authored-by: Sergei Silnov <sergei.silnov@espressif.com> Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
This commit is contained in:
parent
e3cc04084d
commit
10d0bf8ea7
1 changed files with 5 additions and 2 deletions
7
.github/workflows/upload-idf-component.yml
vendored
7
.github/workflows/upload-idf-component.yml
vendored
|
|
@ -4,7 +4,10 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: 'Tag to push to the component registry'
|
description: 'Version to push to the component registry'
|
||||||
|
required: true
|
||||||
|
git_ref:
|
||||||
|
description: 'Git ref with the source to push to the component registry'
|
||||||
required: true
|
required: true
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["ESP32 Arduino Release"]
|
workflows: ["ESP32 Arduino Release"]
|
||||||
|
|
@ -44,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ inputs.git_ref || env.RELEASE_TAG }}
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
- name: Upload components to the component registry
|
- name: Upload components to the component registry
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue