run ci only on master branch, create all images and save only *.bin

This commit is contained in:
Valerio Vaccaro 2023-09-13 16:18:34 +02:00
parent 4ed1381b7b
commit dc78650e09
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,9 @@
name: PlatformIO CI name: PlatformIO CI
on: [push] on:
push:
branches:
- master
jobs: jobs:
build: build:
@ -27,4 +30,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: builded artifacts name: builded artifacts
path: .pio/build/* path: .pio/build/*/*.bin

View File

@ -10,7 +10,7 @@
[platformio] [platformio]
globallib_dir = lib globallib_dir = lib
default_envs = ESP32-2432S028R ;NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R default_envs = NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R
[env:NerminerV2] [env:NerminerV2]
platform = espressif32 platform = espressif32