From b7d7ae6b630cb30c906834c471b73f6c094c71f3 Mon Sep 17 00:00:00 2001 From: Kakhaber Date: Thu, 5 Sep 2024 00:03:03 +0400 Subject: [PATCH] Add a workflow for uploading to component registry --- .../upload-to-component-registry.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/upload-to-component-registry.yml diff --git a/.github/workflows/upload-to-component-registry.yml b/.github/workflows/upload-to-component-registry.yml new file mode 100644 index 0000000..a8498dd --- /dev/null +++ b/.github/workflows/upload-to-component-registry.yml @@ -0,0 +1,19 @@ +name: Upload component to https://components.espressif.com +on: + push: + tags: + - v* +jobs: + upload_components: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: "recursive" + - name: Upload component to the component registry + uses: espressif/upload-components-ci-action@v1 + with: + name: "libpeer" + version: ${{ github.ref_name }} + namespace: "sepfy" + api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}