File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -94,21 +94,30 @@ jobs:
94
94
# Upload binaries for rp2040/stm32l412nucleo hardware test with self-hosted
95
95
96
96
- name : Prepare rp2040 Artifacts
97
- if : matrix.family == 'rp2040' && github.repository_owner == 'hathach'
97
+ if : contains( matrix.family, 'rp2040') && github.repository_owner == 'hathach'
98
98
run : find examples/ -name "*.elf" -exec mv {} . \;
99
99
100
100
- name : Prepare stm32l412nucleo Artifacts
101
- if : matrix.family == 'stm32l4'
101
+ if : contains( matrix.family, 'stm32l4')
102
102
run : find examples/ -path "*stm32l412nucleo/*.elf" -exec mv {} . \;
103
103
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')
106
106
uses : actions/upload-artifact@v3
107
107
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
109
117
path : |
110
118
*.elf
111
119
120
+
112
121
# ---------------------------------------
113
122
# Build all no-family (orphaned) boards
114
123
# disable this workflow since it is often failed randomly
You can’t perform that action at this time.
0 commit comments