summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLee Lup Yuen <luppy@appkaki.com>2020-07-28 06:26:41 (GMT)
committerGitHub <noreply@github.com>2020-07-28 06:26:41 (GMT)
commit6469566cbe3fad24e0d743a4b219f80e56d19107 (patch)
tree3cd9f3532e2c13b83c6b3a26019adac91e7a4f61 /.github/workflows
parent423399706783ebac7b8f2ea0bc0e6f169acc9960 (diff)
Create DFU package
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main2.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml
index ce2d542..59b7f3c 100644
--- a/.github/workflows/main2.yml
+++ b/.github/workflows/main2.yml
@@ -114,12 +114,15 @@ jobs:
- name: Verify firmware image
run: ${{ runner.temp }}/mcuboot/scripts/imgtool.py verify build/src/pinetime-mcuboot-app.img
+ - name: Create DFU package
+ run: adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/src/pinetime-mcuboot-app.img build/src/pinetime-mcuboot-app-dfu.zip
+
- name: Upload pinetime-mcuboot-app
uses: actions/upload-artifact@v2
with:
name: pinetime-mcuboot-app.img
- path: build/src/pinetime-mcuboot-app.img
-
+ path: build/src/pinetime-mcuboot-app-dfu.zip
+
#########################################################################################
# Make and upload pinetime-app