From 4fd950f2e8695bb0e17cf40d4a7be2b5ea0bc2b4 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Tue, 28 Jul 2020 14:00:46 +0800 Subject: Update main2.yml diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index f8caf8c..6c9d401 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -77,8 +77,8 @@ jobs: - 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 && pip3 install --user -r mcuboot/scripts/requirements.txt - + run: cd ${{ runner.temp }} && git clone --branch v1.5.0 https://github.com/JuulLabs-OSS/mcuboot + ######################################################################################### # Checkout @@ -105,6 +105,9 @@ jobs: - name: Make pinetime-mcuboot-app run: cd build && make pinetime-mcuboot-app + - name: Install imgtool dependencies + run: pip3 install --user -r ${{ runner.temp }}/mcuboot/scripts/requirements.txt + - name: Create firmware image run: ${{ runner.temp }}/mcuboot/scripts/imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header build/src/pinetime-mcuboot-app.bin build/src/pinetime-mcuboot-app.img -- cgit v0.10.2