diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46ca2c92c..9775ca71b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -113,8 +113,9 @@ jobs: fetch-depth: 2 - name: Build esp32 binary run: | - bash -c '. /home/testbot/.bash_profile ; git config --global --add safe.directory "$ESP_ROOT"/esp-idf && make build-esp32-bin && cargo +esp build -p micro-rdk-ffi --target=xtensa-esp32-espidf -Zbuild-std=std,panic_abort --locked --profile release-ffi' + bash -c '. /home/testbot/.bash_profile ; git config --global --add safe.directory "$ESP_ROOT"/esp-idf && make build-esp32-ota && make build-esp32-bin && cargo +esp build -p micro-rdk-ffi --target=xtensa-esp32-espidf -Zbuild-std=std,panic_abort --locked --profile release-ffi' cp target/xtensa-esp32-espidf/micro-rdk-server-esp32.bin micro-rdk-server-esp32.bin + cp target/xtensa-esp32-espidf/micro-rdk-server-esp32-ota.bin micro-rdk-server-esp32-ota.bin cp target/xtensa-esp32-espidf/release-ffi/libmicrordk.a libmicrordk.a cp micro-rdk-ffi/include/micrordk.h micrordk.h - name: Upload release Lib @@ -125,6 +126,7 @@ jobs: libmicrordk.a micrordk.h micro-rdk-server-esp32.bin + micro-rdk-server-esp32-ota.bin publish-release: needs: [build-installer, build-installer-arm64-linux, build-micro-RDK] @@ -167,6 +169,7 @@ jobs: sha256sum micro-rdk-installer-amd64-linux >> sha256sums.txt sha256sum micro-rdk-installer-macos >> sha256sums.txt sha256sum micro-rdk-server-esp32.bin >> sha256sums.txt + sha256sum micro-rdk-server-esp32-ota.bin >> sha256sums.txt sha256sum micro-rdk-installer-windows.exe >> sha256sums.txt sha256sum micro-rdk-lib.zip >> sha256sums.txt - name: Update CHANGELOG @@ -187,6 +190,7 @@ jobs: micro-rdk-installer-amd64-linux micro-rdk-installer-macos micro-rdk-server-esp32.bin + micro-rdk-server-esp32-ota.bin micro-rdk-lib.zip sha256sums.txt micro-rdk-installer-windows.exe