1name: Push LVGL release to Espressif Component Service
2
3# If the commit is tagged, it will be uploaded. Other scenario silently fail.
4on:
5  push:
6    tags:
7      - v*
8
9jobs:
10  upload_components:
11    runs-on: ubuntu-latest
12    steps:
13      - uses: actions/checkout@v2
14        with:
15          submodules: "recursive"
16
17      - name: Upload component to component registry
18        uses: espressif/upload-components-ci-action@v1
19        with:
20          name: "lvgl"
21          version: ${{ github.ref_name }}
22          namespace: "lvgl"
23          api_token: ${{ secrets.ESP_IDF_COMPONENT_API_TOKEN }}
24