From 77acbc6814ab68f07d93932ea2b79c472f4dfb9e Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Mon, 8 Sep 2025 10:29:40 +1000 Subject: [PATCH] Add EPOCH_BUILD to latest setup step. (#7894) Previously this was in setup-base. However, setup-base is no longer used by the setup job. Fixes https://github.com/meshtastic/gh-action-firmware/issues/10 Fixes https://github.com/meshtastic/firmware/issues/7888 --- .github/workflows/main_matrix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index ed14907dc..fa780aaf6 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -48,6 +48,10 @@ jobs: python-version: 3.x cache: pip - run: pip install -U platformio + - name: Uncomment build epoch + shell: bash + run: | + sed -i 's/#-DBUILD_EPOCH=$UNIX_TIME/-DBUILD_EPOCH=$UNIX_TIME/' platformio.ini - name: Generate matrix id: jsonStep run: |