Skip to content

Commit

Permalink
CI: publish package to PlatformIO registry
Browse files Browse the repository at this point in the history
Ported from 44d2d47
  • Loading branch information
bblanchon committed Jan 10, 2024
1 parent 6e641ae commit 632cb27
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,20 @@ jobs:
- name: Publish
run: bash -eux extras/scripts/publish-particle-library.sh
timeout-minutes: 5

platformio:
name: PlatformIO
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install PlatformIO
run: pip install platformio
- name: Checkout
uses: actions/checkout@v3
- name: Publish
run: pio pkg publish --no-interactive --no-notify
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}

0 comments on commit 632cb27

Please sign in to comment.