Skip to content

Commit

Permalink
ci: fix platformio (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy authored Jun 7, 2024
1 parent 7639421 commit 58092c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/compile-sketches-platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ jobs:
cd ArduinoIoTCloud/extras/tools
python3 lzss.py --encode ${{ github.workspace }}/senseBox-bike-atrai-v2/.pio/build/sensebox_mcu_esp32s2/firmware.bin ${{ runner.temp }}/firmware.bin.lzss
python3 bin2ota.py ESP32 ${{ runner.temp }}/firmware.bin.lzss ${{ runner.temp }}/firmware.ota
mv ${{ runner.temp }}/firmware.ota ${{ github.workspace }}/senseBox-bike-atrai-v2/.pio/build/sensebox_mcu_esp32s2/senseBox-bike-atrai-v2.bin.ota
mv ${{ github.workspace }}/senseBox-bike-atrai-v2/.pio/build/sensebox_mcu_esp32s2/firmware.bin ${{ github.workspace }}/senseBox-bike-atrai-v2/.pio/build/sensebox_mcu_esp32s2/senseBox-bike-atrai-v2.bin
mkdir -p ${{ github.workspace }}/senseBox-bike-atrai-v2/build/sensebox_mcu_esp32s2
mv ${{ runner.temp }}/firmware.ota ${{ github.workspace }}/senseBox-bike-atrai-v2/build/sensebox_mcu_esp32s2/senseBox-bike-atrai-v2.bin.ota
mv ${{ github.workspace }}/senseBox-bike-atrai-v2/.pio/build/sensebox_mcu_esp32s2/firmware.bin ${{ github.workspace }}/senseBox-bike-atrai-v2/build/sensebox_mcu_esp32s2/senseBox-bike-atrai-v2.bin
- name: Export binaries as artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 58092c6

Please sign in to comment.