From d6780d43040331bbc679aeb3f4f89fcfd6f4cbf5 Mon Sep 17 00:00:00 2001 From: Sergei Silnov Date: Thu, 23 Sep 2021 12:40:12 +0200 Subject: [PATCH] Upload to the component registry --- .github/workflows/upload-idf-component.yml | 19 +++++++++++++++++++ idf_component.yml | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/workflows/upload-idf-component.yml create mode 100644 idf_component.yml diff --git a/.github/workflows/upload-idf-component.yml b/.github/workflows/upload-idf-component.yml new file mode 100644 index 00000000000..d9e4032df08 --- /dev/null +++ b/.github/workflows/upload-idf-component.yml @@ -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 }} diff --git a/idf_component.yml b/idf_component.yml new file mode 100644 index 00000000000..72e81d7b2a9 --- /dev/null +++ b/idf_component.yml @@ -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: + - "**/*" \ No newline at end of file