summaryrefslogtreecommitdiff
path: root/lib/lvgl/.github/workflows/esp_upload_component.yml
blob: c0604129c6c45b7419fd1a7fdd328be03449e6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Push LVGL release to Espressif Component Service

# If the commit is tagged, it will be uploaded. Other scenario silently fail.
on:
  push:
    tags:
      - v*

jobs:
  upload_components:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: "recursive"

      - name: Upload component to component registry
        uses: espressif/upload-components-ci-action@v1
        with:
          name: "lvgl"
          version: ${{ github.ref_name }}
          namespace: "lvgl"
          api_token: ${{ secrets.ESP_IDF_COMPONENT_API_TOKEN }}