Merge pull request #670 from tctlrd/gulp #197
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: Platformio build | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Platformio | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install platformio | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - name: Run Platformio builds | |
| run: | | |
| platformio run -e generic -e debug | |
| - name: Export bins | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: bins | |
| path: | | |
| bin/generic.bin | |
| bin/forV2Board.bin | |
| bin/debug.bin |