summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2022-05-27 11:31:17 +0300
committerJF <JF002@users.noreply.github.com>2022-05-27 17:52:26 +0200
commita2218dd4adaed4257b6a4727f9f2d01f2b15363f (patch)
tree80ee145adfbf2adc9f8405993119d5b1117017ad /.github
parent619477cbd172645ce7b9398af62d4521f320ef65 (diff)
Unzip DFU, so the artifact doesn't need to be unzipped by the user.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml6
1 files 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: