From d934027d30d61f3ea28e1bde9f2f282787a9a965 Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Mon, 28 Nov 2022 01:32:05 +0800 Subject: [PATCH] add esp-idf action --- .github/workflows/component.yml | 20 ++++++++++++++++++++ API.md | 4 ++++ README.md | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/component.yml create mode 100644 API.md diff --git a/.github/workflows/component.yml b/.github/workflows/component.yml new file mode 100644 index 0000000..541743c --- /dev/null +++ b/.github/workflows/component.yml @@ -0,0 +1,20 @@ +name: Push component 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 component to the component registry + uses: espressif/upload-components-ci-action@v1 + with: + name: "esp_ghota" + version: ${{ github.ref_name }} + namespace: "fishwaldo" + api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} \ No newline at end of file diff --git a/API.md b/API.md new file mode 100644 index 0000000..d4a675c --- /dev/null +++ b/API.md @@ -0,0 +1,4 @@ +ESP Github OTA Component +======================== + +Please see https://esp-github-ota.readthedocs.io/en/latest/index.html for API documentation. \ No newline at end of file diff --git a/README.md b/README.md index f66ac3e..266bc34 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ You should be careful with your GitHub PAT and putting it in the source code. I via the Espressif Component Registry: ```bash -idf.py add-dependency Fishwaldo/ghota^1.0.0 +idf.py add-dependency Fishwaldo/ghota^0.0.1 ``` ## Example