Try to set the custom build version

This commit is contained in:
Knutwurst
2020-09-10 17:50:34 +02:00
parent d5a53e2d8d
commit 09a3de4acc

View File

@@ -29,7 +29,6 @@ jobs:
matrix:
platform:
# Knutwurst Base Environments
- MEGA_1G
- MEGA_1G_TMC
- MEGA_1G_BLT_10
@@ -92,7 +91,8 @@ jobs:
- 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)"
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"
- name: Rename Output Files
run: |