2023-05-04 10:47:08 +02:00
|
|
|
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
|
2023-11-02 11:03:37 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-10-22 06:39:43 +02:00
|
|
|
- name: Install Python
|
2024-01-02 08:15:13 +01:00
|
|
|
uses: actions/setup-python@v5
|
2023-05-04 10:47:08 +02:00
|
|
|
with:
|
|
|
|
python-version: '3.9'
|
|
|
|
- name: Install PlatformIO Core
|
|
|
|
run: pip install --upgrade platformio
|
2024-01-23 10:51:26 +01:00
|
|
|
- name: Switch to the development version
|
|
|
|
run: pio upgrade --dev
|
2023-05-04 10:47:08 +02:00
|
|
|
- name: Publish
|
|
|
|
run: pio pkg publish --owner lvgl .
|