1on:
2  push:
3    tags:
4      - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
5
6name: PlatformIO Publish
7jobs:
8  build:
9    runs-on: ubuntu-22.04
10    steps:
11      - name: Checkout code
12        uses: actions/checkout@v4
13      - name: Install Python
14        uses: actions/setup-python@v5
15        with:
16          python-version: '3.9'
17      - name: Install PlatformIO Core
18        run: pip install --upgrade platformio
19      - name: Switch to the development version
20        run: pio upgrade --dev
21      - name: Publish
22        run: pio pkg publish --no-interactive --owner lvgl .
23