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
name: Push to Espressif Component Service | |
on: | |
release: | |
types: [created] | |
jobs: | |
build_examples_for_verification: | |
uses: ./.github/workflows/espidf.yaml | |
upload_components: | |
runs-on: ubuntu-latest | |
needs: [build_examples_for_verification] | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Remove unused examples and sources and arduino | |
run: rm -rf examples/arduino library.json library.properties | |
- name: Generate html | |
run: python binary_to_h.py html/ota.html src/impl/ota_html.h | |
- name: Upload component to component registry | |
uses: espressif/upload-components-ci-action/@v1 | |
with: | |
name: "ConnectionHelper" | |
namespace: "johboh" | |
api_token: ${{ secrets.ESP_IDF_COMPONENT_API_TOKEN }} |