Skip to content

Commit

Permalink
GitHub Action update
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Nov 26, 2023
1 parent 4743375 commit ac7e023
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,20 +151,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cp .pio/build/glowwormluciferinfull_esp32/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_firmware.bin
cp .pio/build/glowwormluciferinfull_esp32c3cdc/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_C3_CDC_firmware.bin
cp .pio/build/glowwormluciferinfull_esp32s2/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S2_firmware.bin
cp .pio/build/glowwormluciferinfull_esp32s3cdc/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S3_CDC_firmware.bin
cp .pio/build/glowwormluciferinfull_esp32s3/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S3_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_C3_CDC_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_S2_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_S3_firmware.bin
cp .pio/build/glowwormluciferinfull_esp32/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_firmware-factory.bin
cp .pio/build/glowwormluciferinfull_esp32c3cdc/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_C3_CDC_firmware-factory.bin
cp .pio/build/glowwormluciferinfull_esp32s2/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S2_firmware-factory.bin
cp .pio/build/glowwormluciferinfull_esp32s3cdc/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S3_CDC_firmware-factory.bin
cp .pio/build/glowwormluciferinfull_esp32s3/firmware-factory.bin ./GlowWormLuciferinFULL_ESP32_S3_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_C3_CDC_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_S2_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinFULL_ESP32_S3_firmware-factory.bin
cp -i .pio/build/glowwormluciferinfull_esp32/firmware.bin ./GlowWormLuciferinFULL_ESP32_firmware.bin
cp -i .pio/build/glowwormluciferinfull_esp32c3cdc/firmware.bin ./GlowWormLuciferinFULL_ESP32_C3_CDC_firmware.bin
cp -i .pio/build/glowwormluciferinfull_esp32s2/firmware.bin ./GlowWormLuciferinFULL_ESP32_S2_firmware.bin
Expand All @@ -180,18 +175,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cp .pio/build/glowwormluciferinlight_esp32/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_firmware.bin
cp .pio/build/glowwormluciferinlight_esp32c3cdc/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_C3_CDC_firmware.bin
cp .pio/build/glowwormluciferinlight_esp32s2/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_S2_firmware.bin
cp .pio/build/glowwormluciferinlight_esp32s3/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_S3_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_C3_CDC_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_S2_firmware.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_S3_firmware.bin
cp .pio/build/glowwormluciferinlight_esp32/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_firmware-factory.bin
cp .pio/build/glowwormluciferinlight_esp32c3cdc/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_C3_CDC_firmware-factory.bin
cp .pio/build/glowwormluciferinlight_esp32s2/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_S2_firmware-factory.bin
cp .pio/build/glowwormluciferinlight_esp32s3/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_S3_firmware-factory.bin
cp .pio/build/glowwormluciferinlight_esp32s3/firmware-factory.bin ./GlowWormLuciferinLIGHT_ESP32_S3_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_C3_CDC_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_S2_firmware-factory.bin
gh release upload "${{ env.RELEASE_VERSION }}" GlowWormLuciferinLIGHT_ESP32_S3_firmware-factory.bin
cp -i .pio/build/glowwormluciferinlight_esp32/firmware.bin ./GlowWormLuciferinLIGHT_ESP32_firmware.bin
cp -i .pio/build/glowwormluciferinlight_esp32c3cdc/firmware.bin ./GlowWormLuciferinLIGHT_ESP32_C3_CDC_firmware.bin
cp -i .pio/build/glowwormluciferinlight_esp32s2/firmware.bin ./GlowWormLuciferinLIGHT_ESP32_S2_firmware.bin
Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ board_build.filesystem = littlefs
monitor_filters = ${common_env_data.monitor_filters_esp32}
board_build.f_cpu = 240000000L
;build_type = debug
monitor_port = COM26
upload_port = COM26
monitor_port = COM7
upload_port = COM7
;upload_protocol = espota
;upload_port = 192.168.1.82
;upload_flags =
Expand Down

0 comments on commit ac7e023

Please sign in to comment.