diff --git a/.circleci/config2.yml b/.circleci/config2.yml index 542c3d0d0..278ff0f3b 100644 --- a/.circleci/config2.yml +++ b/.circleci/config2.yml @@ -68,14 +68,6 @@ commands: steps: - checkout - - when: - condition: - not: - equal: [esp-idf, << parameters.toolchain >>] - steps: - - setup-toolchain: - toolchain: << parameters.toolchain >> - - run: name: Get Dependencies command: | @@ -101,6 +93,14 @@ commands: echo "export PICO_SDK_PATH=~/pico-sdk" >> $BASH_ENV fi + - when: + condition: + not: + equal: [esp-idf, << parameters.toolchain >>] + steps: + - setup-toolchain: + toolchain: << parameters.toolchain >> + - run: name: Build command: |