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    branches:
7      - master
8
9jobs:
10  upload_components:
11    runs-on: ubuntu-latest
12    steps:
13      - uses: actions/checkout@master
14        with:
15          submodules: "recursive"
16
17      - name: Upload component to component registry
18        uses: espressif/github-actions/upload_components@master
19        with:
20          name: "lvgl"
21          version: "git"
22          namespace: "lvgl"
23          api_token: ${{ secrets.ESP_IDF_COMPONENT_API_TOKEN }}
24