From 48e679e67b680639d43c1098a1eebb322116ef4b Mon Sep 17 00:00:00 2001 From: Benedict Diederich Date: Tue, 17 Dec 2024 07:54:42 +0100 Subject: [PATCH] Update build_platformio_xiao_motor.yaml --- .github/workflows/build_platformio_xiao_motor.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_platformio_xiao_motor.yaml b/.github/workflows/build_platformio_xiao_motor.yaml index 2419091..6eed55d 100644 --- a/.github/workflows/build_platformio_xiao_motor.yaml +++ b/.github/workflows/build_platformio_xiao_motor.yaml @@ -53,21 +53,21 @@ jobs: - name: merge into one binary run: | dir .pio/build/UC2_3_Xiao_Slave_Motor/ - mv .pio/build/UC2_3_Xiao_Slave_Motor/*.bin build/ - cd build + mv .pio/build/UC2_3_Xiao_Slave_Motor/*.bin builds3/ + cd builds3 python -m esptool --chip esp32s3 merge_bin -o UC2_3_Xiao_Slave_Motor.bin --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin - uses: actions/upload-artifact@v3 with: name: merged-firmware - path: build/UC2_3_Xiao_Slave_Motor.bin + path: builds3/UC2_3_Xiao_Slave_Motor.bin - name: Push to youseetoo Webtool uses: dmnemec/copy_file_to_another_repo_action@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: - source_file: 'build/UC2_3_Xiao_Slave_Motor.bin' + source_file: 'builds3/UC2_3_Xiao_Slave_Motor.bin' destination_repo: 'youseetoo/youseetoo.github.io' destination_folder: 'static/firmware_build' user_email: 'bene.d@gmx.de'