Update main2.yml

This commit is contained in:
Lee Lup Yuen 2020-07-29 09:36:55 +08:00 committed by GitHub
parent 2574b8db51
commit 774100f0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,9 +133,9 @@ jobs:
- name: Create DFU package
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
cd build/src
unzip -v pinetime-mcuboot-app-dfu.zip
unzip pinetime-mcuboot-app-dfu.zip
unzip -v build/src/pinetime-mcuboot-app-dfu.zip
# Unzip the package because Upload Artifact will zip up the files
unzip pinetime-mcuboot-app-dfu.zip -d build/src/pinetime-mcuboot-app-dfu
- name: Upload DFU package
uses: actions/upload-artifact@v2