From a2218dd4adaed4257b6a4727f9f2d01f2b15363f Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Fri, 27 May 2022 11:31:17 +0300 Subject: [PATCH] Unzip DFU, so the artifact doesn't need to be unzipped by the user. --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 151d2d8d..d498ae66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,12 +33,14 @@ jobs: SOURCES_DIR: . run: | /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 uses: actions/upload-artifact@v3 with: name: InfiniTime DFU ${{ github.head_ref }} - path: | - ./build/output/pinetime-mcuboot-app-dfu-*.zip + path: ./build/output/pinetime-mcuboot-app-dfu/* - name: Upload MCUBoot image artifacts uses: actions/upload-artifact@v3 with: