Skip to content

Commit 5fc1404

Browse files
workflows: fix patched build log name
Fix for patched build log that overwrites the normal build log. This messes up memory charts and badges. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent 67cac69 commit 5fc1404

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/actions/build-step/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ inputs:
3535
type: boolean
3636
required: false
3737
default: false
38+
patched:
39+
type: boolean
40+
required: false
41+
default: false
3842

3943
runs:
4044
using: "composite"
@@ -66,6 +70,10 @@ runs:
6670
-d build \
6771
-p --sysbuild \
6872
-- -DEXTRA_CONF_FILE="$(pwd)/../examples/modules/cloud/overlay-mqtt.conf" 2>&1 | tee ../../artifacts/build_output_${{ inputs.short_board }}_mqtt.log
73+
elif [[ "${{ inputs.patched }}" == "true" ]]; then
74+
west build -b ${{ inputs.board }} \
75+
-d build \
76+
-p --sysbuild 2>&1 | tee ../../artifacts/build_output_${{ inputs.short_board }}_patched.log
6977
else
7078
west build -b ${{ inputs.board }} \
7179
-d build \

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ jobs:
209209
short_board: thingy91x
210210
version: ${{ env.VERSION }}-patched
211211
path: asset-tracker-template/app
212+
patched: true
212213

213214
- name: Upload artifacts
214215
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)