ci(pio): add action to automatically publish LVGL as a PlatformIO package on release
This commit is contained in:
committed by
GitHub
parent
239b70a8da
commit
842cf80a48
20
.github/workflows/platformio_publish.yaml
vendored
Normal file
20
.github/workflows/platformio_publish.yaml
vendored
Normal 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 .
|
||||||
Reference in New Issue
Block a user