From 45de943485ac009660037eb81a7265e1cafe2b4e Mon Sep 17 00:00:00 2001 From: Niclas Date: Thu, 18 Dec 2025 06:46:05 +0100 Subject: [PATCH] build: add support for local config builds via act (#3124) Adds support for building the firmware in the config-repo locally via [act](https://github.com/nektos/act). Linux example command: ```shell act --artifact-server-path $PWD/.artifacts ``` MacOS (M2) example command: ```shell act --artifact-server-path $PWD/.artifacts \ --container-architecture \ linux/amd64 --container-daemon-socket - --- .github/workflows/build-user-config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-user-config.yml b/.github/workflows/build-user-config.yml index 4d4e885ad..072cf05dc 100644 --- a/.github/workflows/build-user-config.yml +++ b/.github/workflows/build-user-config.yml @@ -49,6 +49,12 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.matrix.outputs.build_matrix) }} steps: + - name: Act Workaround # https://github.com/nektos/act/issues/973 + if: ${{ env.ACT }} + run: | + apt-get update && apt-get install -y curl unzip + curl -fsSL https://deb.nodesource.com/setup_22.x | bash && apt install -y nodejs + - name: Checkout uses: actions/checkout@v4