Skip to content

Commit 06f0068

Browse files
committed
Add workflow to publish to pio
1 parent 4b3e535 commit 06f0068

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
environment: publish
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
submodules: 'recursive'
17+
18+
- uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.13'
21+
22+
- name: Install PlatformIO Core
23+
run: pip install --upgrade platformio
24+
25+
- name: Publish with PlatformIO
26+
env:
27+
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_AUTH_TOKEN }}
28+
run: pio pkg publish --no-interactive

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"maintainer": true
1414
}
1515
],
16-
"version": "6.4.3",
16+
"version": "6.4.4",
1717
"frameworks": "*",
1818
"platforms": "*",
1919
"export": {

0 commit comments

Comments
 (0)