File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -420,9 +420,14 @@ jobs:
420420 echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
421421 echo "RTT_CC=gcc" >> $GITHUB_ENV
422422 echo "export PATH=~/.env/tools/scripts:$PATH" > ~/.env/env.sh
423-
423+ - name : Cache GCC Arm Toolchain
424+ id : cache-gcc-arm
425+ uses : actions/cache@v4
426+ with :
427+ path : /opt/gcc-arm-none-eabi-10-2020-q4-major
428+ key : gcc-arm-none-eabi-10-2020-q4-major
424429 - name : Install Arm ToolChains
425- if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && success() }}
430+ if : ${{ matrix.legs.RTT_TOOL_CHAIN == 'sourcery-arm' && success() && (steps.cache-gcc-arm.outputs.cache-hit != 'true') }}
426431 shell : bash
427432 run : |
428433 wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.3/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
You can’t perform that action at this time.
0 commit comments