From 116f6236044be17bdbc41d5e6e4d3a153d3cc1f0 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 4 Sep 2020 20:43:04 +0200 Subject: [PATCH] Update yaml. --- .github/workflows/build-all.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index 4298e836..948047ca 100755 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -95,16 +95,20 @@ jobs: CUSTOM_BUILD_VERSION=$(egrep -o "([0-9]{1,}\.)+[0-9]{1,}" Marlin/src/inc/Version.h -m2 | tail -n1) && \ mv .pio/build/${{ matrix.platform }}/firmware.hex .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION.hex + - name: Set Environment Variables + 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: Archive artifacts uses: actions/upload-artifact@master with: - name: Knutwurst_${{ matrix.platform }}_v$CUSTOM_BUILD_VERSION + name: Knutwurst_${{ matrix.platform }}_v$CUSTOM_BUILD_VER path: | .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex - name: Archive artifacts ino single ZIP uses: actions/upload-artifact@master with: - name: Knutwurst_i3_Mega_Firmware_v$CUSTOM_BUILD_VERSION + name: Knuwurst-all-in-one_v$CUSTOM_BUILD_VER path: | .pio/build/${{ matrix.platform }}/${{ matrix.platform }}_v*.hex