Publish #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish-platformio: | |
| name: Publish to PlatformIO | |
| runs-on: ubuntu-latest | |
| environment: platformio | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install platformio | |
| run: pip install --upgrade platformio | |
| - name: Publish package | |
| env: | |
| PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }} | |
| run: pio package publish --owner stuartparmenter --non-interactive | |
| publish-espressif: | |
| name: Publish to Espressif | |
| runs-on: ubuntu-latest | |
| environment: espressif | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Publish package | |
| uses: espressif/upload-components-ci-action@v2 | |
| with: | |
| version: ${{ github.event.release.tag_name }} | |
| components: | | |
| esp-hub75: components/hub75 | |
| namespace: stuartparmenter |