diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..41f2d36 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 diff --git a/library.json b/library.json index adfc700..bc5697f 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "maintainer": true } ], - "version": "3.0.0", + "version": "3.0.1", "frameworks": "*", "platforms": "*", "export": {