diff options
| author | Ha Thach <[email protected]> | 2024-08-11 10:19:52 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-11 10:19:52 +0700 |
| commit | 9ee7d1b77e365079eab5bb641eea522a8deb551e (patch) | |
| tree | d960b83d4fb6164430be3f6068f8f1829ebb8fcd /.github/workflows | |
| parent | 18b5affce9afb26141c58f59ed89ad34385a0f8f (diff) | |
| parent | 8b88749223e969148e9d1ce4c8fd3a6756d5e38c (diff) | |
Merge pull request #2760 from hathach/update-pio-usb
change pio to fix rp2040 build
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build_util.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/build_util.yml b/.github/workflows/build_util.yml index b0a87d4df..e983f06d1 100644 --- a/.github/workflows/build_util.yml +++ b/.github/workflows/build_util.yml @@ -58,11 +58,10 @@ jobs: shell: bash - name: Build - if: inputs.toolchain != 'esp-idf' run: | - python tools/build.py -s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ steps.set-one-per-family.outputs.build_option }} ${{ matrix.arg }} - - - name: Build using ESP-IDF docker - if: inputs.toolchain == 'esp-idf' - run: | - docker run --rm -v $PWD:/project -w /project espressif/idf:${{ inputs.toolchain_version }} python3 tools/build.py ${{ matrix.arg }} + if [ "${{ inputs.toolchain }}" == "esp-idf" ]; then + docker run --rm -v $PWD:/project -w /project espressif/idf:${{ inputs.toolchain_version }} python3 tools/build.py ${{ matrix.arg }} + else + python tools/build.py -s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ steps.set-one-per-family.outputs.build_option }} ${{ matrix.arg }} + fi + shell: bash |
