From 38018b48cd22f2a9b56f7d1cfe54ff9aab1bf927 Mon Sep 17 00:00:00 2001 From: yobezhou Date: Fri, 25 Nov 2022 03:55:08 -0500 Subject: [PATCH] add github actions push to esp-idf component --- .../workflows/push_to_esp-idf_components.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/push_to_esp-idf_components.yml diff --git a/.github/workflows/push_to_esp-idf_components.yml b/.github/workflows/push_to_esp-idf_components.yml new file mode 100644 index 0000000..92b9b28 --- /dev/null +++ b/.github/workflows/push_to_esp-idf_components.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: "lv_lib_100ask" + version: ${{ github.ref_name }} + namespace: "biubiu" + api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} \ No newline at end of file