Update main2.yml
This commit is contained in:
parent
2574b8db51
commit
774100f0d3
6
.github/workflows/main2.yml
vendored
6
.github/workflows/main2.yml
vendored
@ -133,9 +133,9 @@ jobs:
|
|||||||
- name: Create DFU package
|
- name: Create DFU package
|
||||||
run: |
|
run: |
|
||||||
~/.local/bin/adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/src/pinetime-mcuboot-app-img.bin build/src/pinetime-mcuboot-app-dfu.zip
|
~/.local/bin/adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application build/src/pinetime-mcuboot-app-img.bin build/src/pinetime-mcuboot-app-dfu.zip
|
||||||
cd build/src
|
unzip -v build/src/pinetime-mcuboot-app-dfu.zip
|
||||||
unzip -v pinetime-mcuboot-app-dfu.zip
|
# Unzip the package because Upload Artifact will zip up the files
|
||||||
unzip pinetime-mcuboot-app-dfu.zip
|
unzip pinetime-mcuboot-app-dfu.zip -d build/src/pinetime-mcuboot-app-dfu
|
||||||
|
|
||||||
- name: Upload DFU package
|
- name: Upload DFU package
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user