diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81926a910a..b6de33222f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,13 +43,10 @@ jobs: restore-keys: ${{ runner.os }}-build-${{ env.cache-name }} - name: Install Embedded Arm Toolchain arm-none-eabi-gcc - if: steps.cache-toolchain.outputs.cache-hit != 'true' # Install toolchain if not found in cache - uses: fiam/arm-none-eabi-gcc@v1.0.2 - with: - # GNU Embedded Toolchain for Arm release name, in the V-YYYY-qZ format (e.g. "9-2019-q4") - release: 9-2020-q2 - # Directory to unpack GCC to. Defaults to a temporary directory. - directory: ${{ runner.temp }}/arm-none-eabi + run: | + URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz + wget -qO - "$URL" | tar -xj -C ${{ runner.temp }} + mv ${{ runner.temp }}/gcc-arm-none-eabi-* ${{ runner.temp }}/arm-none-eabi # rename extracted folder - name: Check cache for nRF5 SDK id: cache-nrf5sdk