mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
* Update _index.md * Update _index.md * ci: cancel superseded workflow runs * ci: serialize documentation deployments --------- Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
31 lines
715 B
YAML
31 lines
715 B
YAML
name: Publish ETL to PlatformIO
|
|
|
|
on:
|
|
release:
|
|
types: [published] # Trigger only when a GitHub release is published
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6.0.3
|
|
|
|
- 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 }}
|