summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLee Lup Yuen <luppy@appkaki.com>2020-07-28 04:49:37 (GMT)
committerGitHub <noreply@github.com>2020-07-28 04:49:37 (GMT)
commit6bd617551c855ba05ea7f5e479cf52a69f36ca8f (patch)
tree06a15229dff3995049ca81c29492ee130968068b /.github/workflows
parent4f2e3e1af8df68312b2543cf7e0b426a9023eba8 (diff)
Download MCUBoot
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main2.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
index 88ca196..cf106ad 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