Create DFU package
This commit is contained in:
parent
4233997067
commit
6469566cbe
7
.github/workflows/main2.yml
vendored
7
.github/workflows/main2.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user