Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow gets triggered when a GitHub release is published. | |
# It publishes this project to the public ESP-IDF component registry. | |
name: Publish component to the ESP-IDF registry | |
on: | |
release: | |
types: [published] | |
jobs: | |
upload_component: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Publish component to the ESP-IDF registry | |
run: | | |
bash esp_metadata/package_esp_component.sh | |
export IDF_COMPONENT_API_TOKEN="${{ secrets.IDF_COMPONENT_API_TOKEN }}" | |
cd package/libcanard | |
compote component upload --namespace opencyphal --name libcanard --version ${{ github.event.release.tag_name }} |