summaryrefslogtreecommitdiff
path: root/lib/lvgl/.github/workflows/platformio_publish.yaml
blob: 1decfa9ee99191c17d1fd5f9ea33c445b3ac7eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
on:
  push:
    tags:
      - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10

name: PlatformIO Publish
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
      - name: Install Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.9'
      - name: Install PlatformIO Core
        run: pip install --upgrade platformio
      - name: Switch to the development version
        run: pio upgrade --dev
      - name: Publish
        run: pio pkg publish --owner lvgl .