diff --git a/.github/workflows/build_sw.yml b/.github/workflows/build_sw.yml index dc4aafb..aa4912f 100644 --- a/.github/workflows/build_sw.yml +++ b/.github/workflows/build_sw.yml @@ -28,11 +28,8 @@ jobs: - name: install build packages run: sudo apt-get update && sudo apt-get install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi g++ libstdc++-arm-none-eabi-newlib build-essential - - name: Get SDK and add PICO_SDK_PATH - run: cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV - - - name: Init submodules to get tinyUSB stack - run: ls && git submodules init && git submodules update + - name: Clone SDK, init submodules and add PICO_SDK_PATH + run: cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && git submodule update --init && ls && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV - name: Configure and run CMake Rev0.3 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.