Skip to content

Commit 1867ba0

Browse files
committed
fix l4 hw testing ci
1 parent aa11e21 commit 1867ba0

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/build_arm.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,30 @@ jobs:
9494
# Upload binaries for rp2040/stm32l412nucleo hardware test with self-hosted
9595

9696
- name: Prepare rp2040 Artifacts
97-
if: matrix.family == 'rp2040' && github.repository_owner == 'hathach'
97+
if: contains(matrix.family, 'rp2040') && github.repository_owner == 'hathach'
9898
run: find examples/ -name "*.elf" -exec mv {} . \;
9999

100100
- name: Prepare stm32l412nucleo Artifacts
101-
if: matrix.family == 'stm32l4'
101+
if: contains(matrix.family, 'stm32l4')
102102
run: find examples/ -path "*stm32l412nucleo/*.elf" -exec mv {} . \;
103103

104-
- name: Upload Artifacts for hardware testing
105-
if: matrix.family == 'stm32l4' || (matrix.family == 'rp2040' && github.repository_owner == 'hathach')
104+
- name: Upload Artifacts for rp2040
105+
if: contains(matrix.family,'rp2040') && github.repository_owner == 'hathach')
106106
uses: actions/upload-artifact@v3
107107
with:
108-
name: ${{ matrix.family }}
108+
name: rp2040
109+
path: |
110+
*.elf
111+
112+
- name: Upload Artifacts for stm32l412nucleo
113+
if: contains(matrix.family, 'stm32l4') && github.repository_owner == 'hathach')
114+
uses: actions/upload-artifact@v3
115+
with:
116+
name: stm32l4
109117
path: |
110118
*.elf
111119
120+
112121
# ---------------------------------------
113122
# Build all no-family (orphaned) boards
114123
# disable this workflow since it is often failed randomly

0 commit comments

Comments
 (0)