From 3bca058bce38fc093dcf25649bc9b4bfa54f547b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ha=C3=9Fhoff?= Date: Tue, 28 Mar 2023 09:51:55 +0200 Subject: [PATCH] fix Genius Bed Size!!!, include Configuration.h and Configuration_adv.h in release --- .github/workflows/build-marlin.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-marlin.yml b/.github/workflows/build-marlin.yml index 77b1fa4..b5ada80 100644 --- a/.github/workflows/build-marlin.yml +++ b/.github/workflows/build-marlin.yml @@ -102,13 +102,17 @@ jobs: run: | mkdir -p release/AT-SW-fil-lev/Marlin cp -r freakydude-Marlin/.pio/build/Artillery_Ruby/firmware.bin release/AT-SW-fil-lev/Marlin/firmware.bin + cp -r freakydude-Marlin/Marlin/Configuration.h release/AT-SW-fil-lev/Marlin/Configuration.h + cp -r freakydude-Marlin/Marlin/Configuration_adv.h release/AT-SW-fil-lev/Marlin/Configuration_adv.h # ------------------- AT-GP-fil-lev ------------------- # change #define X_BED_SIZE and Y_BED_SIZE to 220 - name: Change X_BED_SIZE and Y_BED_SIZE from 300 to 220 in Configuration.h run: | cd freakydude-Marlin - sed -i 's/#define X_BED_SIZE 300/#define X_BED_SIZE 220/g' Marlin/src/inc/Conditionals_post.h - sed -i 's/#define Y_BED_SIZE 300/#define Y_BED_SIZE 220/g' Marlin/src/inc/Conditionals_post.h + sed -i 's/#define X_BED_SIZE 300/#define X_BED_SIZE 220/g' Marlin/Configuration.h + sed -i 's/#define Y_BED_SIZE 300/#define Y_BED_SIZE 220/g' Marlin/Configuration.h + sed -i 's/#define Z_MAX_POS 400/#define Z_MAX_POS 250/g' Marlin/Configuration.h + # Build the AT-GP-fil-lev-Marlin firmware - name: Build Artillery Ruby run: | @@ -119,6 +123,8 @@ jobs: run: | mkdir -p release/AT-GP-fil-lev/Marlin cp -r freakydude-Marlin/.pio/build/Artillery_Ruby/firmware.bin release/AT-GP-fil-lev/Marlin/firmware.bin + cp -r freakydude-Marlin/Marlin/Configuration.h release/AT-GP-fil-lev/Marlin/Configuration.h + cp -r freakydude-Marlin/Marlin/Configuration_adv.h release/AT-GP-fil-lev/Marlin/Configuration_adv.h # TODO add other Marlin configs and firmware # ------------------- Build Display ------------------- # ------------------- AT-SW-fil-lev -------------------