Blame | Last modification | View Log | RSS feed
name: Push to PlatformIO registryon:release:types: [created]jobs:build_examples_for_verification:uses: ./.github/workflows/platformio.yamlupload_library:runs-on: ubuntu-latestneeds: [build_examples_for_verification]strategy:matrix:target:- name: espidflibrary: library.json- name: esp8266library: library.json.esp8266steps:- uses: actions/checkout@v6- uses: actions/setup-python@v4with:python-version: '3.9'- name: Install PlatformIO Corerun: pip install --upgrade platformio- name: Copy library.json to root (if not src is also in root)run: mv ${{ matrix.target.library }} ./library.json || trueif: ${{ matrix.target.library != './library.json' }}- name: Publish PlatformIO libraryrun: pio pkg publish --owner johboh --no-notify --no-interactiveenv:PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}