Explorar el Código

actually fix pico-sdk checkout to checkout the right branch

graham sanderson hace 5 años
padre
commit
9b17acd168
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      .github/workflows/build.yml

+ 1 - 2
.github/workflows/build.yml

@@ -67,8 +67,7 @@ jobs:
     - name: Checkout pico-sdk
       if: matrix.family == 'rp2040'
       run: |
-        git clone --depth 1 https://github.com/raspberrypi/pico-sdk ~/pico-sdk
-        git checkout tinyusb-0.10.0
+        git clone --depth 1 -b tinyusb-0.10.0 https://github.com/raspberrypi/pico-sdk ~/pico-sdk
         echo >> $GITHUB_ENV PICO_SDK_PATH=~/pico-sdk
 
     - name: Set Toolchain URL