diff --git a/.github/workflows/upload_component.yml b/.github/workflows/upload_component.yml new file mode 100644 index 0000000..31b8fa4 --- /dev/null +++ b/.github/workflows/upload_component.yml @@ -0,0 +1,22 @@ +name: Push 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: "xgzf4000" + version: ${{ github.ref_name }} + namespace: "hayschan" + api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} + skip_pre_release: false + dry_run: true