From 6bd617551c855ba05ea7f5e479cf52a69f36ca8f Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Tue, 28 Jul 2020 12:49:37 +0800 Subject: [PATCH] Download MCUBoot --- .github/workflows/main2.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index 88ca196d..cf106add 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -65,6 +65,20 @@ jobs: if: steps.cache-nrf5sdk.outputs.cache-hit != 'true' # Install SDK if not found in cache run: cd ${{ runner.temp }} && curl https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip -o nrf5_sdk.zip && unzip nrf5_sdk.zip && mv nRF5_SDK_15.3.0_59ac345 nrf5_sdk + - name: Check cache for MCUBoot + id: cache-mcuboot + uses: actions/cache@v2 + env: + cache-name: cache-mcuboot + with: + path: ${{ runner.temp }}/mcuboot + key: ${{ runner.os }}-build-${{ env.cache-name }} + restore-keys: ${{ runner.os }}-build-${{ env.cache-name }} + + - name: Install MCUBoot + if: steps.cache-mcuboot.outputs.cache-hit != 'true' # Install MCUBoot if not found in cache + run: cd ${{ runner.temp }} && git clone --branch v1.5.0 https://github.com/JuulLabs-OSS/mcuboot + ######################################################################################### # Checkout