From dc78650e09d139c8be603e5a38f1e17978265ee0 Mon Sep 17 00:00:00 2001 From: Valerio Vaccaro Date: Wed, 13 Sep 2023 16:18:34 +0200 Subject: [PATCH] run ci only on master branch, create all images and save only *.bin --- .github/workflows/main.yml | 7 +++++-- platformio.ini | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee790f6..6324f25 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,9 @@ name: PlatformIO CI -on: [push] +on: + push: + branches: + - master jobs: build: @@ -27,4 +30,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: builded artifacts - path: .pio/build/* + path: .pio/build/*/*.bin diff --git a/platformio.ini b/platformio.ini index aad639e..7da770b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -10,7 +10,7 @@ [platformio] 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] platform = espressif32