From 5911e835b67d7e66f43fa88ebc2f44d9a824f0c1 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 4 Sep 2020 19:49:53 +0200 Subject: [PATCH] hopefully a fix fot the custom build version --- .github/workflows/build-all.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 0ae67f99..89968615 100755 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -90,12 +90,10 @@ jobs: - name: Run PlatformIO run: platformio run --environment ${{ matrix.platform }} - - name: Get custom build version - run: echo '::set-env name=CUSTOM_BUILD_VER::$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1)' - - name: Rename Output Files run: | CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \ + echo '::set-env name=CUSTOM_BUILD_VER::$CUSTOM_BUILD_VERSION' && \ mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex - name: Archive artifacts