Skip to content

Commit ecbe5df

Browse files
committed
workflows: update to accommodate new board name format
Signed-off-by: Mike Szczys <[email protected]>
1 parent 195affc commit ecbe5df

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/build_zephyr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ jobs:
6868
run: |
6969
cd build/zephyr
7070
mkdir -p artifacts
71-
mv merged.hex ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${{ inputs.BOARD }}_full.hex
72-
mv app_update.bin ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${{ inputs.BOARD }}_update.bin
73-
mv zephyr.elf ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${{ inputs.BOARD }}.elf
71+
BOARD_NICENAME=${{ inputs.BOARD }}
72+
BOARD_NICENAME=${BOARD_NICENAME//\//_}
73+
mv merged.hex ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${BOARD_NICENAME}_full.hex
74+
mv app_update.bin ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${BOARD_NICENAME}_update.bin
75+
mv zephyr.elf ./artifacts/golioth-${{ github.event.repository.name }}_${{ inputs.TAG }}_${BOARD_NICENAME}.elf
7476
7577
# Run IDs are unique per repo but are reused on re-runs
7678
- name: Save artifact

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
ZEPHYR_SDK: [0.16.3]
20-
BOARD: ["nrf9160dk_nrf9160_ns","aludel_mini_v1_sparkfun9160_ns"]
20+
BOARD: ["nrf9160dk/nrf9160/ns","aludel_mini/nrf9160/ns","aludel_elixir/nrf9160/ns"]
2121

2222
uses: ./.github/workflows/build_zephyr.yml
2323
with:

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2023 Golioth, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
name: Test firmware
4+
name: Test firmware
55

66
on:
77
pull_request:
@@ -13,5 +13,5 @@ jobs:
1313
uses: ./.github/workflows/build_zephyr.yml
1414
with:
1515
ZEPHYR_SDK: 0.16.3
16-
BOARD: aludel_mini_v1_sparkfun9160_ns
17-
ARTIFACT: false
16+
BOARD: aludel_mini/nrf9160/ns
17+
ARTIFACT: false

0 commit comments

Comments
 (0)