ci(pio): add action to automatically publish LVGL as a PlatformIO package on release

This commit is contained in:
Gabor Kiss-Vamosi
2023-05-04 10:47:08 +02:00
committed by GitHub
parent 239b70a8da
commit 842cf80a48

View File

@@ -0,0 +1,20 @@
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@v3
- name: Intsall Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Publish
run: pio pkg publish --owner lvgl .