Skip to content

Commit

Permalink
Fix zip file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehaenger committed Nov 1, 2023
1 parent d5ccdad commit 595eeb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Copy Artifacts
run: |
mkdir artifacts
mkdir artifacts/
cp Firmware/CoverUI/.pio/build/YF_C500_STM32/firmware.bin ./artifacts/firmware_C500_STM32.bin
cp Firmware/CoverUI/.pio/build/YF_C500_STM32_RAIN/firmware.bin ./artifacts/firmware_C500_STM32_RAIN.bin
cp Firmware/CoverUI/.pio/build/YF_C500_STM32_RAIN_HALL/firmware.bin ./artifacts/firmware_C500_STM32_RAIN_HALL.bin
Expand All @@ -78,7 +78,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: open-mower-stock-firmware
path: artifacts/
path: artifacts/stock/

tagged-release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
path: firmware

- name: Create stock firmware zip
run: zip -r firmware-stock.zip firmware
run: zip -r firmware-stock.zip firmware -i 'firmware/firmware_*STM32*.bin' -i 'firmware/firmware_*GD32*.bin'

- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit 595eeb7

Please sign in to comment.