浏览代码

update build script to esp-idf v4.3.1

Sébastien 3 年之前
父节点
当前提交
0e33e112ae
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/esp-idf-v4.3-build.yml

+ 3 - 2
.github/workflows/esp-idf-v4.3-build.yml

@@ -84,7 +84,8 @@ jobs:
       run: |
         env | grep "artifact\|tag\|GITHUB\|version\|NUMBER\|TARGET" >${TARGET_BUILD_NAME}-env.txt
         echo "${tag}" >version.txt
-        docker pull espressif/idf:release-v4.3
+        echo pulling docker version 4.3.1
+        docker pull espressif/idf:v4.3.1
         docker info 
         docker run --env-file=${TARGET_BUILD_NAME}-env.txt  -v $PWD:/project -w /project espressif/idf:release-v4.3 /bin/bash -c "cp build-scripts/${TARGET_BUILD_NAME}-sdkconfig.defaults sdkconfig  && idf.py build -DDEPTH=${{ matrix.depth }} -DBUILD_NUMBER=${BUILD_NUMBER}-${{ matrix.depth }} && zip -r build_output.zip build && zip build/${artifact_file_name} partitions*.csv build/*.bin build/bootloader/bootloader.bin build/partition_table/partition-table.bin build/flash_project_args build/size_*.txt"
     # - name: Build Mock firmware
@@ -153,4 +154,4 @@ jobs:
         upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps 
         asset_path: build/${{ env.artifact_file_name }}
         asset_name: ${{ env.artifact_file_name }}
-        asset_content_type: application/octet-stream          
+        asset_content_type: application/octet-stream