From 4d5f1dd2cb83700c3eb75c710f98102a89251957 Mon Sep 17 00:00:00 2001 From: Alex Borro Date: Tue, 26 Mar 2024 11:30:45 +0100 Subject: [PATCH] Add UMLM_ENCRYPTION_KEY and BUILDTYPE to build job Add environment variables to the build job that are needed by the "production" build of `print-process-reporting`. These variables will currently be ignored by other build scripts. See the Ultimaker/umlicensemanager documentation for details. --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bcb79b..649a694 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,15 @@ jobs: - name: Build Package id: build run: | + # BUILDTYPE is used by the build of premium firmware modules such + # as print-process-reporting. "PRODUCTION" triggers the build of + # an encrypted firmware module using Ultimaker/umlicensemanager. + # Other firmware components ignore this. + export BUILDTYPE=PRODUCTION + # Encryption key for UMMOD file in "PRODUCTION" build mode. + # See umlicensemanager documentation + export UMLM_ENCRYPTION_KEY="${{ secrets.UMLM_ENCRYPTION_KEY }}" + export RELEASE_VERSION="${{ env.RELEASE_VERSION }}" echo "RELEASE_VERSION: ${RELEASE_VERSION}"