Skip to content

Commit

Permalink
Update platformio.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot authored Dec 25, 2023
1 parent 4bcbfb3 commit 8f4a09c
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,32 @@ jobs:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Use secrets.h.example as base for the build
- name: Use secrets.hpp.example as base for the build
run: cp include/secrets.hpp.example include/secrets.hpp
- name: Check PlatformIO Project with linter
run: pio check
- name: Build PlatformIO Projects
run: pio run
- name: Build PlatformIO Project ESP32-s3
run: pio run -e esp32-s3
- name: Upload ESP32S3 build
uses: actions/upload-artifact@v3
with:
name: esp32s3.bin
path: .pio/build/esp32-s3/firmware.bin
retention-days: 10
- name: Upload WOKWI build
uses: actions/upload-artifact@v3
with:
name: esp32-wokwi.bin
path: .pio/build/wokwi/firmware.bin
retention-days: 10
retention-days: 15
- name: Build PlatformIO Project esp32dev
run: pio run -e esp32dev
- name: Upload ESP32 build
uses: actions/upload-artifact@v3
with:
name: esp32.bin
path: .pio/build/esp32dev/firmware.bin
retention-days: 10
retention-days: 15
- name: Build PlatformIO Project wokwi
run: pio run -e wokwi
- name: Upload WOKWI build
uses: actions/upload-artifact@v3
with:
name: esp32-wokwi.bin
path: .pio/build/wokwi/firmware.bin
retention-days: 180

0 comments on commit 8f4a09c

Please sign in to comment.