Skip to content

Commit

Permalink
Automatically publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanplusplus committed Dec 4, 2024
1 parent 467a649 commit b4777c7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
environment: publish

steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'

- uses: actions/setup-python@v4
with:
python-version: '3.13'

- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Publish with PlatformIO
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_AUTH_TOKEN }}
run: pio pkg publish --no-interactive
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"maintainer": true
}
],
"version": "3.0.0",
"version": "3.0.1",
"frameworks": "*",
"platforms": "*",
"export": {
Expand Down

0 comments on commit b4777c7

Please sign in to comment.