From 82ce5e24aab1dcfc183cabb63417b4566584725d Mon Sep 17 00:00:00 2001 From: gab-k Date: Thu, 2 Jan 2025 16:54:29 +0100 Subject: [PATCH] Update build_sw.yml --- .github/workflows/build_sw.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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.