diff --git a/.github/workflows/create_nightly_release.yml b/.github/workflows/create_nightly_release.yml index a4f953ac..d58affd2 100644 --- a/.github/workflows/create_nightly_release.yml +++ b/.github/workflows/create_nightly_release.yml @@ -52,7 +52,7 @@ jobs: zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip * - name: Create SD Card ZIP run: | - zip -r sdcard.zip sdcard + mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version_date.outputs.date }}.bin && zip -r sdcard.zip sdcard - name: Create changelog run: | CHANGELOG=$(python3 .github/workflows/changelog.py) diff --git a/.github/workflows/create_stable_release.yml b/.github/workflows/create_stable_release.yml index 30a74fdd..02a6c599 100644 --- a/.github/workflows/create_stable_release.yml +++ b/.github/workflows/create_stable_release.yml @@ -36,7 +36,7 @@ jobs: zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip * - name: Create SD Card ZIP run: | - zip -r sdcard.zip sdcard + mkdir -p sdcard/FIRMWARE && cp build/firmware/portapack-h1_h2-mayhem.bin sdcard/FIRMWARE/portapack-mayhem_${{ steps.version.outputs.version }}.bin && zip -r sdcard.zip sdcard - name: Create changelog run: | CHANGELOG=$(python3 .github/workflows/stable_changelog.py ${{ steps.past_version.outputs.past_version }})