Adds LED indictor #3
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: Serial Mic Build | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| paths: | |
| - 'serial-mic/**' | |
| - '.github/workflows/serial-mic.yml' | |
| pull_request: | |
| branches: [ main, develop ] | |
| paths: | |
| - 'serial-mic/**' | |
| - '.github/workflows/serial-mic.yml' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install PlatformIO Core | |
| run: | | |
| pip install platformio | |
| pio --version | |
| - name: Build project | |
| working-directory: ./serial-mic | |
| run: pio run | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: serial-mic-firmware | |
| path: serial-mic/.pio/build/esp32-s3-devkitc-1/firmware.bin | |
| retention-days: 7 |