From edd8e7c3b99c915527f140c8b72a068e34879d1d Mon Sep 17 00:00:00 2001 From: jLynx Date: Sun, 21 May 2023 18:42:38 +1200 Subject: [PATCH] Automatically add world map to SD card files (#1022) * Testing * Updated scripts * Updated removed testing file --- .github/workflows/create_nightly_release.yml | 6 ++++++ .github/workflows/create_stable_release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/create_nightly_release.yml b/.github/workflows/create_nightly_release.yml index d58affd2..4b0ce554 100644 --- a/.github/workflows/create_nightly_release.yml +++ b/.github/workflows/create_nightly_release.yml @@ -47,6 +47,12 @@ jobs: run: mkdir ${{ github.workspace }}/build - name: Run the Docker image run: docker run -e VERSION_STRING=${{ steps.version_date.outputs.date }} -i -v ${{ github.workspace }}:/havoc portapack-dev + - name: Download world map + run: | + wget https://github.com/eried/portapack-mayhem/releases/download/world_map/world_map.zip + - name: Unzip world map + run: | + unzip world_map.zip -d sdcard/ADSB - name: Create Firmware ZIP run: | zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip * diff --git a/.github/workflows/create_stable_release.yml b/.github/workflows/create_stable_release.yml index 02a6c599..17d51eac 100644 --- a/.github/workflows/create_stable_release.yml +++ b/.github/workflows/create_stable_release.yml @@ -31,6 +31,12 @@ jobs: run: mkdir ${{ github.workspace }}/build - name: Run the Docker image run: docker run -e VERSION_STRING=${{ steps.version.outputs.version }} -i -v ${{ github.workspace }}:/havoc portapack-dev + - name: Download world map + run: | + wget https://github.com/eried/portapack-mayhem/releases/download/world_map/world_map.zip + - name: Unzip world map + run: | + unzip world_map.zip -d sdcard/ADSB - name: Create Firmware ZIP run: | zip -j firmware.zip build/firmware/portapack-h1_h2-mayhem.bin && cd flashing && zip -r ../firmware.zip *