Files
2026-06-02 20:57:28 +03:00

33 lines
704 B
YAML

name: Publish to PlatformIO Registry
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout release tag
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install PlatformIO
run: pip install -U platformio
- name: Check package
run: pio pkg pack
- name: Publish to PlatformIO Registry
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
run: pio pkg publish --owner gyverlibs --non-interactive