diff --git a/.github/workflows/upload-idf-component.yml b/.github/workflows/upload-idf-component.yml index 8faddef7e5f..5ce4562c01a 100644 --- a/.github/workflows/upload-idf-component.yml +++ b/.github/workflows/upload-idf-component.yml @@ -4,7 +4,10 @@ on: workflow_dispatch: inputs: 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 workflow_run: workflows: ["ESP32 Arduino Release"] @@ -44,7 +47,7 @@ jobs: - uses: actions/checkout@v4 with: - ref: ${{ env.RELEASE_TAG }} + ref: ${{ inputs.git_ref || env.RELEASE_TAG }} submodules: "recursive" - name: Upload components to the component registry