Upload to the component registry (#6203)

Co-authored-by: Sergei Silnov <sergei.silnov@espressif.com>
This commit is contained in:
Dmitry Bondarenko
2022-02-03 21:09:18 +03:00
committed by GitHub
parent 6591f5bd4c
commit 1046f59f6b
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: Push components to https://components.espressif.com
on:
push:
tags:
- v*
jobs:
upload_components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Upload components to the component registry
uses: espressif/github-actions/upload_components@master
with:
name: arduino-esp32
namespace: espressif
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}

20
idf_component.yml Normal file
View File

@ -0,0 +1,20 @@
description: "Arduino core for ESP32, ESP32-S and ESP32-C series of SoCs"
url: "https://github.com/espressif/arduino-esp32"
targets:
- esp32
- esp32s2
- esp32c3
tags:
- arduino
files:
include:
- "cores/**/*"
- "variants/esp32/**/*"
- "variants/esp32s2/**/*"
- "variants/esp32s3/**/*"
- "variants/esp32c3/**/*"
- "libraries/**/*"
- "CMakeLists.txt"
- "Kconfig.projbuild"
exclude:
- "**/*"