Skip to content

Commit

Permalink
ci: Allow push to the component registry from a given git ref
Browse files Browse the repository at this point in the history
  • Loading branch information
kumekay committed Dec 19, 2024
1 parent 352705e commit f24daeb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/upload-idf-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f24daeb

Please sign in to comment.