Skip to content

Commit

Permalink
Update Actions with new environment name
Browse files Browse the repository at this point in the history
  • Loading branch information
aly-fly committed Jan 20, 2025
1 parent 1f617fe commit a337352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ jobs:
cat "./EleksTubeHAX_pio/platformio.ini"
- name: Build PlatformIO Project for 4MB flash
run: pio run --environment esp32dev
run: pio run --environment EleksTubeHax
working-directory: ./EleksTubeHAX_pio

- name: Rename firmware files
run: |
cd EleksTubeHAX_pio/.pio/build/esp32dev/
cd EleksTubeHAX_pio/.pio/build/EleksTubeHax/
echo "Rename firmware files!"
if [ "${{ matrix.hardware }}" = "Elekstube_CLOCK" ]; then
echo "move *_combined.bin to FW_Elekstube_HAX_${{ env.VERSION }}_original.bin"
Expand All @@ -103,7 +103,7 @@ jobs:
with:
name: firmware-${{ matrix.hardware }}
path: |
EleksTubeHAX_pio/.pio/build/esp32dev/FW_*.bin
EleksTubeHAX_pio/.pio/build/EleksTubeHax/FW_*.bin
if-no-files-found: error

combine-artifacts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pio-build-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ jobs:
run: pip install --upgrade platformio

- name: Build PlatformIO Project for 4MB flash
run: pio run --environment esp32dev
run: pio run --environment EleksTubeHax
working-directory: ./EleksTubeHAX_pio

0 comments on commit a337352

Please sign in to comment.