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:
Me No Dev 2025-01-07 12:01:55 +02:00 committed by GitHub
parent e3cc04084d
commit 10d0bf8ea7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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