Unzip DFU, so the artifact doesn't need to be unzipped by the user.

This commit is contained in:
Riku Isokoski 2022-05-27 11:31:17 +03:00 committed by JF
parent 619477cbd1
commit a2218dd4ad

View file

@ -33,12 +33,14 @@ jobs:
SOURCES_DIR: . SOURCES_DIR: .
run: | run: |
/opt/build.sh all /opt/build.sh all
# Unzip the package because Upload Artifact will zip up the files
- name: Unzip DFU package
run: unzip ./build/output/pinetime-mcuboot-app-dfu-*.zip -d ./build/output/pinetime-mcuboot-app-dfu
- name: Upload DFU artifacts - name: Upload DFU artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: InfiniTime DFU ${{ github.head_ref }} name: InfiniTime DFU ${{ github.head_ref }}
path: | path: ./build/output/pinetime-mcuboot-app-dfu/*
./build/output/pinetime-mcuboot-app-dfu-*.zip
- name: Upload MCUBoot image artifacts - name: Upload MCUBoot image artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: