Unzip DFU, so the artifact doesn't need to be unzipped by the user.
This commit is contained in:
parent
619477cbd1
commit
a2218dd4ad
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue