diff options
| author | Lee Lup Yuen <luppy@appkaki.com> | 2020-07-28 06:00:46 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-28 06:00:46 (GMT) |
| commit | 4fd950f2e8695bb0e17cf40d4a7be2b5ea0bc2b4 (patch) | |
| tree | fcca6aab216faef5ba853a189bbf10a4fb8550f0 | |
| parent | 57507a689c3d997ef9094c394f15ddc75120e265 (diff) | |
Update main2.yml
| -rw-r--r-- | .github/workflows/main2.yml | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
