mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
27 lines
620 B
YAML
27 lines
620 B
YAML
name: Publish ETL to PlatformIO
|
|
|
|
on:
|
|
release:
|
|
types: [published] # Trigger only when a GitHub release is published
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install PlatformIO
|
|
run: pip install platformio
|
|
|
|
- name: Publish to PlatformIO Registry
|
|
run: pio package publish --owner etlcpp --non-interactive
|
|
env:
|
|
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_TOKEN }}
|